diff options
| author | Terry Truong <terry06890@gmail.com> | 2022-07-25 16:27:13 +1000 |
|---|---|---|
| committer | Terry Truong <terry06890@gmail.com> | 2022-07-25 16:27:13 +1000 |
| commit | 5cf98f7ecb4cb65768252eb45177f6189996fd8c (patch) | |
| tree | d3fd9e716422ed504e08da50fb17b452e7185854 /src/App.vue | |
| parent | b342aaa031eabecb6273afa3c948adcd05006e7e (diff) | |
Reduce animation stutter when resizing with many tiles
Diffstat (limited to 'src/App.vue')
| -rw-r--r-- | src/App.vue | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |
