Add toggle for non-raster layers with hotkey and UI button

This commit is contained in:
Cursor Agent
2025-06-23 16:02:08 +00:00
committed by psychedelicious
parent adf4cc750a
commit 7a7a2e147c
8 changed files with 104 additions and 0 deletions

View File

@@ -122,6 +122,7 @@ export const useHotkeyData = (): HotkeysData => {
addHotkey('canvas', 'cancelTransform', ['esc']);
addHotkey('canvas', 'applySegmentAnything', ['enter']);
addHotkey('canvas', 'cancelSegmentAnything', ['esc']);
addHotkey('canvas', 'toggleNonRasterLayers', ['shift+h']);
// Workflows
addHotkey('workflows', 'addNode', ['shift+a', 'space']);