map: prevent breakouts on desktop

pull/396/head
Varun Patil 2023-02-08 14:59:05 -08:00
parent adc16bec29
commit db0797ef8e
1 changed files with 1 additions and 1 deletions

View File

@ -399,7 +399,7 @@ export default defineComponent({
},
allowBreakout() {
return this.isMobileLayout() && !this.config_squareThumbs;
return globalThis.windowInnerWidth <= 600 && !this.config_squareThumbs;
},
/** Create new state */