mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-22 06:37:56 +01:00
Fix zoom propagation.
This commit is contained in:
parent
e7355bc2fe
commit
91c2c600e4
@ -45,6 +45,10 @@ class MapInfoImpl implements MapInfo {
|
||||
return this.title;
|
||||
}
|
||||
|
||||
getLockedMsg(): string | undefined {
|
||||
return this.lockedMsg;
|
||||
}
|
||||
|
||||
setTitle(value: string): void {
|
||||
throw (this.title = value);
|
||||
}
|
||||
|
@ -204,6 +204,7 @@ const EditorPage = ({ mapId, isTryMode }: EditorPropsType): React.ReactElement =
|
||||
locale: userLocale.code,
|
||||
mode: mapMetadata.mode,
|
||||
enableAppBar: true,
|
||||
zoom: mapMetadata.zoom,
|
||||
};
|
||||
|
||||
persistence = buildPersistenceManagerForEditor(mapMetadata.mode);
|
||||
@ -212,7 +213,7 @@ const EditorPage = ({ mapId, isTryMode }: EditorPropsType): React.ReactElement =
|
||||
client,
|
||||
mapMetadata.title,
|
||||
mapMetadata.isLocked,
|
||||
'',
|
||||
mapMetadata.isLockedBy,
|
||||
mapMetadata.zoom,
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user