[#181] update opListCreate to desktopOpListCreate ( to always include drag events and popovers ) and the inverse for mobile. Now it is ready for window resizing

This commit is contained in:
Robin Scholtes 2023-04-27 21:35:50 +12:00
parent c6cc998100
commit 89c1ab12ab
4 changed files with 30 additions and 13 deletions

View file

@ -27,7 +27,7 @@ class WindowWaiter {
* continuous resetting).
*/
windowResize() {
// @TODO: maybe a debounce is desireable although genrally people won't be resizing like crazy
// @TODO: maybe a debounce is desirable although generally people won't be resizing like crazy.. I think
if ( window.innerWidth >= this.app.breakpoint ) {
this.app.setDesktopUI(false);
} else {