mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-25 23:54:55 +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;
|
return this.title;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
getLockedMsg(): string | undefined {
|
||||||
|
return this.lockedMsg;
|
||||||
|
}
|
||||||
|
|
||||||
setTitle(value: string): void {
|
setTitle(value: string): void {
|
||||||
throw (this.title = value);
|
throw (this.title = value);
|
||||||
}
|
}
|
||||||
|
@ -204,6 +204,7 @@ const EditorPage = ({ mapId, isTryMode }: EditorPropsType): React.ReactElement =
|
|||||||
locale: userLocale.code,
|
locale: userLocale.code,
|
||||||
mode: mapMetadata.mode,
|
mode: mapMetadata.mode,
|
||||||
enableAppBar: true,
|
enableAppBar: true,
|
||||||
|
zoom: mapMetadata.zoom,
|
||||||
};
|
};
|
||||||
|
|
||||||
persistence = buildPersistenceManagerForEditor(mapMetadata.mode);
|
persistence = buildPersistenceManagerForEditor(mapMetadata.mode);
|
||||||
@ -212,7 +213,7 @@ const EditorPage = ({ mapId, isTryMode }: EditorPropsType): React.ReactElement =
|
|||||||
client,
|
client,
|
||||||
mapMetadata.title,
|
mapMetadata.title,
|
||||||
mapMetadata.isLocked,
|
mapMetadata.isLocked,
|
||||||
'',
|
mapMetadata.isLockedBy,
|
||||||
mapMetadata.zoom,
|
mapMetadata.zoom,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user