From a1d89464ad5c7ffb4ea775ff3df2ce062566f45b Mon Sep 17 00:00:00 2001 From: Robin Scholtes Date: Mon, 17 Apr 2023 10:19:42 +1200 Subject: [PATCH] [#181] update breakpoint to 768, add a TODO --- src/web/App.mjs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/web/App.mjs b/src/web/App.mjs index 7b98e109..5db558b7 100755 --- a/src/web/App.mjs +++ b/src/web/App.mjs @@ -47,7 +47,7 @@ class App { this.workerLoaded = false; this.waitersLoaded = false; - this.breakpoint = 1024; + this.breakpoint = 768; } @@ -59,6 +59,7 @@ class App { setup() { document.dispatchEvent(this.manager.appstart); + // @TODO: add a window resize listener if ( window.innerWidth >= this.breakpoint ) { this.initialiseSplitter(); this.setCompileMessage();