[ui] Graph: Updating the way how color gets set on the selected nodes

Coloring the nodes now uses setAttribute command instead of relying on refrences to Nodes within the graph.
This commit is contained in:
waaake 2024-11-28 09:28:36 +05:30
parent 418bd638ad
commit 233bbb76c8
4 changed files with 11 additions and 65 deletions

View file

@ -1065,7 +1065,7 @@ Item {
// When a Color is selected
onColorSelected: (color)=> {
uigraph.updateNodeColor(color)
uigraph.setSelectedNodesColor(color)
}
}
}