Fix zoom on editor

This commit is contained in:
Paulo Gustavo Veiga 2022-03-09 12:49:44 -08:00
parent d8cdb50558
commit 87a99cd362

View File

@ -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.