update
This commit is contained in:
@@ -225,13 +225,6 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
const mediaQueryList = window.matchMedia("screen and (max-width: 900px)");
|
|
||||||
function onMediaChange(event: MediaQueryListEvent | MediaQueryList) {
|
|
||||||
sidebarActive.value = event.matches;
|
|
||||||
}
|
|
||||||
mediaQueryList.addEventListener('change', onMediaChange);
|
|
||||||
onMediaChange(mediaQueryList);
|
|
||||||
|
|
||||||
function windowMouseUp() {
|
function windowMouseUp() {
|
||||||
appStateStore.selectingUnits.value = false;
|
appStateStore.selectingUnits.value = false;
|
||||||
appStateStore.deselectingUnits.value = false;
|
appStateStore.deselectingUnits.value = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user