From 5cf98f7ecb4cb65768252eb45177f6189996fd8c Mon Sep 17 00:00:00 2001
From: Terry Truong <terry06890@gmail.com>
Date: Mon, 25 Jul 2022 16:27:13 +1000
Subject: Reduce animation stutter when resizing with many tiles

---
 src/App.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/App.vue')

diff --git a/src/App.vue b/src/App.vue
index 9d96b23..c0e7f9c 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -905,7 +905,7 @@ export default defineComponent({
 				}
 			};
 			let currentTime = new Date().getTime();
-			if (currentTime - this.lastResizeHdlrTime > this.uiOpts.animationDelay){
+			if (currentTime - this.lastResizeHdlrTime > this.uiOpts.transitionDuration){
 				this.lastResizeHdlrTime = currentTime;
 				await handleResize();
 				this.lastResizeHdlrTime = new Date().getTime();
-- 
cgit v1.2.3

