From 556d6c953e74996e0ae6a8328e352ab43735f993 Mon Sep 17 00:00:00 2001 From: Terry Truong Date: Tue, 13 Sep 2022 20:39:03 +1000 Subject: 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 --- src/layout.ts | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/layout.ts') 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 -- cgit v1.2.3