From a5c9ce0d755b9aa6183ea5df519920b1086da07c Mon Sep 17 00:00:00 2001
From: Terry Truong <terry06890@gmail.com>
Date: Sun, 20 Mar 2022 22:38:00 +1100
Subject: Add distinct failed-header-collapse animation

---
 src/components/Tile.vue | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

(limited to 'src/components/Tile.vue')

diff --git a/src/components/Tile.vue b/src/components/Tile.vue
index 5b0fbd1..feedc09 100644
--- a/src/components/Tile.vue
+++ b/src/components/Tile.vue
@@ -182,12 +182,11 @@ export default defineComponent({
 		onHeaderClick(){
 			this.$emit('header-clicked', {layoutNode: this.layoutNode, domNode: this.$el});
 			(this.$refs.nonLeaf as Element).classList.replace('shadow-highlight', 'shadow-normal');
+			(this.$refs.sepSweptArea as Element).classList.replace('shadow-highlight', 'shadow-normal');
 			// Temporary changes during transition
 			this.zIdx = 1;
-			this.overflow = 'hidden';
 			setTimeout(() => {
 				this.zIdx = 0;
-				this.overflow = 'visible';
 			}, this.transitionDuration);
 		},
 		onInnerHeaderClicked(data: {layoutNode: LayoutNode, domNode: HTMLElement}){
-- 
cgit v1.2.3

