[#181] disable popovers on mobile UI on init and resizing events

This commit is contained in:
Robin Scholtes 2023-04-24 11:32:34 +12:00
parent a252c34968
commit 4a761673c0
6 changed files with 42 additions and 9 deletions

View file

@ -30,9 +30,9 @@ class WindowWaiter {
debounce(this.app.adjustComponentSizes, 200, "windowResize", this.app, [])();
if ( window.innerWidth >= this.app.breakpoint ) {
this.app.setDesktopLayout(false);
this.app.setDesktopUI(false);
} else {
this.app.setMobileLayout();
this.app.setMobileUI();
}
}