Add option to disable ctrl + shift + zoom (#1545)

* Add option to disable ctrl + shift + zoom

Minor change to default behaviour: zoom no longer triggers if alt key is also down.

* Update coreSettings.ts

Next release will be 1.4.0 to leave room for patches in 1.3 stable after today's main repo sync.

---------

Co-authored-by: Chenlei Hu <huchenlei@proton.me>
This commit is contained in:
filtered
2024-11-16 01:10:09 +11:00
committed by GitHub
parent cbaebbc9c2
commit b922aa5c7c
2 changed files with 9 additions and 1 deletions

View File

@@ -521,5 +521,12 @@ export const CORE_SETTINGS: SettingParams[] = [
name: 'Enable DOM element clipping (enabling may reduce performance)',
type: 'boolean',
defaultValue: true
},
{
id: 'Comfy.Graph.CtrlShiftZoom',
name: 'Enable fast-zoom shortcut (Ctrl + Shift + Drag)',
type: 'boolean',
defaultValue: true,
versionAdded: '1.4.0'
}
]