From 671f70c838d7e35f5e6f5a7c24c8adc43ed39fd4 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Fri, 16 Jul 2021 10:40:45 -0400 Subject: [PATCH] fix the resize delayed repaint --- src/aptus/web/static/aptus.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aptus/web/static/aptus.js b/src/aptus/web/static/aptus.js index 904f505..250aa5b 100644 --- a/src/aptus/web/static/aptus.js +++ b/src/aptus/web/static/aptus.js @@ -549,7 +549,7 @@ const App = { if (this.resize_timeout) { clearTimeout(this.resize_timeout); } - resize_timeout = setTimeout( + this.resize_timeout = setTimeout( () => { this.resize_timeout = null; this.view.set_size();