[#181] update breakpoint to 768, add a TODO

This commit is contained in:
Robin Scholtes 2023-04-17 10:19:42 +12:00
parent 683c323fd5
commit a1d89464ad

View file

@ -47,7 +47,7 @@ class App {
this.workerLoaded = false; this.workerLoaded = false;
this.waitersLoaded = false; this.waitersLoaded = false;
this.breakpoint = 1024; this.breakpoint = 768;
} }
@ -59,6 +59,7 @@ class App {
setup() { setup() {
document.dispatchEvent(this.manager.appstart); document.dispatchEvent(this.manager.appstart);
// @TODO: add a window resize listener
if ( window.innerWidth >= this.breakpoint ) { if ( window.innerWidth >= this.breakpoint ) {
this.initialiseSplitter(); this.initialiseSplitter();
this.setCompileMessage(); this.setCompileMessage();