diff options
| author | Terry Truong <terry06890@gmail.com> | 2022-09-13 20:39:03 +1000 |
|---|---|---|
| committer | Terry Truong <terry06890@gmail.com> | 2022-09-13 21:34:27 +1000 |
| commit | 556d6c953e74996e0ae6a8328e352ab43735f993 (patch) | |
| tree | 465edb30070578759476bcbd56cf84ab55a00d47 /src/layout.ts | |
| parent | 23b5cc80ba02936659564dd03b173d3214ce5978 (diff) | |
Trigger expand/collapse-fail animation via callback
Previously, this was done by changing a LayoutNode field from
App.vue, and having TolTile watch that field
Diffstat (limited to 'src/layout.ts')
| -rw-r--r-- | src/layout.ts | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/layout.ts b/src/layout.ts index ec5b70c..140af77 100644 --- a/src/layout.ts +++ b/src/layout.ts @@ -27,7 +27,6 @@ export class LayoutNode { hidden: boolean; // Used to hide nodes upon an expand-to-view hiddenWithVisibleTip: boolean; hasFocus: boolean; // Used by search and auto-mode to mark/flash a tile - failFlag: boolean; // Used to trigger failure animations // Constructor ('parent' are 'depth' are generally initialised later, 'tips' is computed) constructor(name: string, children: LayoutNode[]){ this.name = name; @@ -45,7 +44,6 @@ export class LayoutNode { this.hidden = false; this.hiddenWithVisibleTip = false; this.hasFocus = false; - this.failFlag = false; } // Returns a new tree with the same structure and names // 'chg' is usable to apply a change to the resultant tree |
