diff --git a/src/app/shared/rete-editor/rete-editor.css b/src/app/shared/rete-editor/rete-editor.css index 54a62e9..5a1aff5 100644 --- a/src/app/shared/rete-editor/rete-editor.css +++ b/src/app/shared/rete-editor/rete-editor.css @@ -137,6 +137,12 @@ left: 202px; } +/* The execution canvas is read-only, but its graph remains navigable; keep its zoom beside it. */ +.rete-editor-toolbar--right { + right: 12px; + left: auto; +} + .rete-editor-toolbar-group { position: relative; display: inline-flex; diff --git a/src/app/shared/rete-editor/rete-editor.html b/src/app/shared/rete-editor/rete-editor.html index 0aaea1d..95a48b4 100644 --- a/src/app/shared/rete-editor/rete-editor.html +++ b/src/app/shared/rete-editor/rete-editor.html @@ -47,8 +47,11 @@ } } - @if (!readonly()) { -
+ @if (!readonly() || nodeView() === 'execution') { +
Zoom