Fix zoom on editor

This commit is contained in:
Paulo Gustavo Veiga 2022-03-09 12:49:44 -08:00
parent 726d638fe8
commit 6f02f5a082

View File

@ -90,7 +90,7 @@ const Editor = ({
const result = buildDesigner(buildOptions); const result = buildDesigner(buildOptions);
// Register toolbar event ... // 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'); const menu = new Menu(designer, 'toolbar');
// If a node has focus, focus can be move to another node using the keys. // If a node has focus, focus can be move to another node using the keys.