mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-28 22:58:12 +08:00
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:
co-authored by
Keavon Chambers
parent
c60ddcf875
commit
c13647aef4
@@ -102,7 +102,7 @@ export class UpdateNodeGraphTransform extends JsMessage {
|
||||
|
||||
export class SendUIMetadata extends JsMessage {
|
||||
@Transform(({ obj }) => new Map(obj.nodeDescriptions))
|
||||
readonly nodeDescriptions!: Map<DefinitionIdentifier, string>;
|
||||
readonly nodeDescriptions!: Map<string, string>;
|
||||
|
||||
readonly nodeTypes!: FrontendNodeType[];
|
||||
}
|
||||
@@ -220,7 +220,7 @@ export class FrontendNode {
|
||||
|
||||
readonly canBeLayer!: boolean;
|
||||
|
||||
readonly reference!: DefinitionIdentifier | undefined;
|
||||
readonly reference!: string | undefined;
|
||||
|
||||
readonly displayName!: string;
|
||||
|
||||
@@ -251,7 +251,7 @@ export class FrontendNode {
|
||||
}
|
||||
|
||||
export class FrontendNodeType {
|
||||
readonly identifier!: DefinitionIdentifier;
|
||||
readonly identifier!: string;
|
||||
|
||||
readonly name!: string;
|
||||
|
||||
@@ -834,7 +834,9 @@ export class UpdateDocumentLayerDetails extends JsMessage {
|
||||
export class LayerPanelEntry {
|
||||
id!: bigint;
|
||||
|
||||
reference!: DefinitionIdentifier;
|
||||
implementationName!: string;
|
||||
|
||||
iconName!: IconName | undefined;
|
||||
|
||||
alias!: string;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user