This commit is contained in:
Timothy Jaeryang Baek
2026-02-25 15:59:23 -06:00
parent 64ff15a536
commit bee13f72ad
2 changed files with 23 additions and 2 deletions
+3 -1
View File
@@ -169,7 +169,9 @@
});
onDestroy(() => {
showControls.set(false);
if (!largeScreen) {
showControls.set(false);
}
mediaQuery.removeEventListener('change', handleMediaQuery);
document.removeEventListener('mousedown', onMouseDown);
document.removeEventListener('mouseup', onMouseUp);