mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-12-26 05:13:48 +01:00
Fix zoom on editor
This commit is contained in:
parent
726d638fe8
commit
6f02f5a082
@ -90,7 +90,7 @@ const Editor = ({
|
||||
const result = buildDesigner(buildOptions);
|
||||
|
||||
// Register toolbar event ...
|
||||
if (options.mode === 'edition-owner' || options.mode === 'edition-editor' || options.mode === 'showcase') {
|
||||
if (options.mode === 'edition-owner' || options.mode === 'edition-editor' || options.mode === 'edition-viewer' || options.mode === 'showcase') {
|
||||
const menu = new Menu(designer, 'toolbar');
|
||||
|
||||
// If a node has focus, focus can be move to another node using the keys.
|
||||
|
Loading…
Reference in New Issue
Block a user