fix: don't hide search on web

This commit is contained in:
2025-08-30 16:35:47 +02:00
parent 6f364f6825
commit a976dd779c

View File

@ -85,7 +85,7 @@
const fullHeight = window.innerHeight - 20 - 40 - 10; const fullHeight = window.innerHeight - 20 - 40 - 10;
if (fullscreen[view.current.type]) { if (fullscreen[view.current.type]) {
if(sidebarHeight != fullHeight) { if(sidebarHeight != fullHeight) {
hideSearch = true; if(window.__TAURI__) hideSearch = true;
previousHeight = sidebarHeight; previousHeight = sidebarHeight;
sidebarHeight = fullHeight; sidebarHeight = fullHeight;
requestAnimationFrame(() => { map.updateMapPadding(); } ); requestAnimationFrame(() => { map.updateMapPadding(); } );