Skip to content

Commit

Permalink
deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
gbishop committed Jan 2, 2024
1 parent dd51015 commit 7260f2b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
8 changes: 6 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17916,6 +17916,7 @@ class PatternManager extends PatternBase {
group: "pattern-active",
label: "Default",
});
StartVisible = new Boolean$1(false);

settingsSummary() {
const { Name, Active } = this;
Expand All @@ -17925,11 +17926,12 @@ class PatternManager extends PatternBase {
}

settingsDetails() {
const { Cue, Name, Active } = this;
const { Cue, Name, Active, StartVisible } = this;
return [
html`
<div>
${Name.input()} ${Active.input()} ${Cue.input()}
${StartVisible.input()}
<button
@click=${() => {
this.animate();
Expand Down Expand Up @@ -17993,7 +17995,9 @@ class PatternManager extends PatternBase {
members = buttons;
}
this.targets = new Group(members, { ...this.propsAsObject, Cycles: 1 });
this.stack = [{ group: this.targets, index: 0 }];
this.stack = [
{ group: this.targets, index: this.StartVisible.value ? 0 : -1 },
];
this.cue();

// stop any running animations
Expand Down
2 changes: 1 addition & 1 deletion index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion service-worker.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7260f2b

Please sign in to comment.