fix: don't hide search on web
This commit is contained in:
@ -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(); } );
|
||||||
|
|||||||
Reference in New Issue
Block a user