feat: Let mode changes trigger a re-render for Vue nodes (#5599)

* feat: Let mode changes trigger a re-render for Vue nodes

* Oops!
This commit is contained in:
Alexander Brown
2025-09-15 18:25:58 -07:00
committed by GitHub
parent b8d8193a38
commit 4f8e820c51
2 changed files with 26 additions and 14 deletions

View File

@@ -3,7 +3,11 @@ import type { LGraphNode } from './LGraphNode'
/**
* Default properties to track
*/
const DEFAULT_TRACKED_PROPERTIES: string[] = ['title', 'flags.collapsed']
const DEFAULT_TRACKED_PROPERTIES: string[] = [
'title',
'flags.collapsed',
'mode'
]
/**
* Manages node properties with optional change tracking and instrumentation.