Add setting to enable Litegraph trackpad gestures (#3751)

Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
filtered
2025-05-04 14:31:43 +10:00
committed by GitHub
parent 77ac4a415c
commit 6601cf6959
11 changed files with 48 additions and 1 deletions

View File

@@ -817,5 +817,16 @@ export const CORE_SETTINGS: SettingParams[] = [
type: 'boolean',
defaultValue: false,
versionAdded: '1.18.0'
},
{
id: 'LiteGraph.Pointer.TrackpadGestures',
category: ['LiteGraph', 'Pointer', 'Trackpad Gestures'],
experimental: true,
name: 'Enable trackpad gestures',
tooltip:
'This setting enables trackpad mode for the canvas, allowing pinch-to-zoom and panning with two fingers.',
type: 'boolean',
defaultValue: false,
versionAdded: '1.19.1'
}
]