Add option to disable combo box zoom-in scaling (#2362)

Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
filtered
2025-01-27 22:56:40 +11:00
committed by GitHub
parent 0e1ae41c0c
commit e3ab0e4d68
14 changed files with 38 additions and 1 deletions

View File

@@ -246,6 +246,12 @@ watch(
}
)
watchEffect(() => {
LiteGraph.context_menu_scaling = settingStore.get(
'LiteGraph.ContextMenu.Scaling'
)
})
usePragmaticDroppable(() => canvasRef.value, {
getDropEffect: (args): Exclude<DataTransfer['dropEffect'], 'none'> =>
args.source.data.type === 'tree-explorer-node' ? 'copy' : 'move',