Add button

This commit is contained in:
Adam
2025-09-08 19:21:20 -07:00
parent 1ab681da8c
commit 27294c7569
6 changed files with 19 additions and 0 deletions
+2
View File
@@ -116,6 +116,8 @@ export class UpdateNodeGraphRender extends JsMessage {
readonly inSelectedNetwork!: boolean;
readonly previewedNode!: bigint | undefined;
readonly nativeNodeGraphRender!: boolean;
}
export class UpdateVisibleNodes extends JsMessage {
@@ -118,6 +118,7 @@ export function createNodeGraphState(editor: Editor) {
state.opacity = updateNodeGraphRender.opacity;
state.inSelectedNetwork = updateNodeGraphRender.inSelectedNetwork;
state.previewedNode = updateNodeGraphRender.previewedNode;
state.nativeNodeGraphRender = updateNodeGraphRender.nativeNodeGraphRender;
return state;
});
});