mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-19 01:32:19 +00:00
Merge remote-tracking branch 'origin/main' into german/map-render-error-state
# Conflicts: # src/i18n/locales/ar.json # src/i18n/locales/de.json # src/i18n/locales/es.json # src/i18n/locales/fr.json # src/i18n/locales/he.json # src/i18n/locales/it.json # src/i18n/locales/ja.json # src/i18n/locales/pt.json # src/i18n/locales/ru.json # src/i18n/locales/uk.json # src/i18n/locales/zh-CN.json # src/i18n/locales/zh-Hant.json
This commit is contained in:
commit
897a74ea27
92 files changed
+11125
-124
No files matched your search
@@ -19,6 +19,8 @@ export const useStreetLevelStore = defineStore('gev-street-level', () => {
|
||||
const expanded = shallowRef(null);
|
||||
/** False on a page with neither element fullscreen nor popovers. */
|
||||
const expandAvailable = shallowRef(true);
|
||||
/** Whether the photo is shown over the globe on an embedded page. */
|
||||
const embedOverlay = shallowRef(false);
|
||||
/** @type {{handlers: StreetLevelHandlers}|null} */
|
||||
let owner = null;
|
||||
|
||||
@@ -47,6 +49,11 @@ export const useStreetLevelStore = defineStore('gev-street-level', () => {
|
||||
expandAvailable.value = Boolean(available);
|
||||
}
|
||||
|
||||
/** @param {boolean} on */
|
||||
function setEmbedOverlay(on) {
|
||||
embedOverlay.value = Boolean(on);
|
||||
}
|
||||
|
||||
/**
|
||||
* Stop forwarding actions to the owner holding `token`. The panel keeps
|
||||
* its last render, as the page did when its controls were wired by hand.
|
||||
@@ -69,10 +76,12 @@ export const useStreetLevelStore = defineStore('gev-street-level', () => {
|
||||
view,
|
||||
expanded,
|
||||
expandAvailable,
|
||||
embedOverlay,
|
||||
attach,
|
||||
publish,
|
||||
setExpanded,
|
||||
setExpandAvailable,
|
||||
setEmbedOverlay,
|
||||
detach,
|
||||
act,
|
||||
describeSinceStop,
|
||||
|
||||
Reference in new issue
Block a user