Drop the reset zoom key from the canvas menu

- The node editor does not handle that key, so the menu no longer shows it
This commit is contained in:
piexel committed 2026-11-25 09:44:27 +01:00
1 parent 1efb4c14db
commit d8c0c2cc61
1 file changed
+1 -4
+1 -4
View File
@@ -126,10 +126,7 @@ function BackgroundItems({ root, locked, onEdit, onArrange, onShowAll, onResetZo
Show every node Show every node
<ContextMenuShortcut>{keyText('showAllNodes')}</ContextMenuShortcut> <ContextMenuShortcut>{keyText('showAllNodes')}</ContextMenuShortcut>
</ContextMenuItem> </ContextMenuItem>
<ContextMenuItem onSelect={onResetZoom}> <ContextMenuItem onSelect={onResetZoom}>Reset zoom</ContextMenuItem>
Reset zoom
<ContextMenuShortcut>{keyText('resetZoom')}</ContextMenuShortcut>
</ContextMenuItem>
</> </>
) )
} }