Fix regression where tooltip node descriptions in the graph stopped showing (#3639)

* Fix tooltips

* Convert DefinitionIdentifier to string in JavaScript

* Code review

---------

Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
Adam Gerhant
2026-01-15 23:30:16 -08:00
committed by GitHub
co-authored by Keavon Chambers
parent c60ddcf875
commit c13647aef4
10 changed files with 47 additions and 51 deletions
+1 -2
View File
@@ -9,7 +9,6 @@ import {
type FrontendNode,
type FrontendNodeType,
type WirePath,
type DefinitionIdentifier,
ClearAllNodeGraphWires,
SendUIMetadata,
UpdateBox,
@@ -45,7 +44,7 @@ export function createNodeGraphState(editor: Editor) {
/// The index is the exposed input index. The exports have a first key value of u32::MAX.
wires: new Map<bigint, Map<number, WirePath>>(),
wirePathInProgress: undefined as WirePath | undefined,
nodeDescriptions: new Map<DefinitionIdentifier, string>(),
nodeDescriptions: new Map<string, string>(),
nodeTypes: [] as FrontendNodeType[],
thumbnails: new Map<bigint, string>(),
selected: [] as bigint[],