-
Bug
-
Resolution: Done
-
Critical
-
None
-
False
-
None
-
False
-
---
-
---
-
-
-
2023 Week 09-11 (from Feb 27)
While trying to set the background color of a node in the stunner diagram(in the combined editor), though the bg-color is set initially, when hovered over or clicked on a node, it looses the bg-color which was set.
Expected Result
- NONE state's background should be preserved
- HIGHLIGHT state shouldn't change background and should reuse NONE background colour
- New colour can be set ONLY for NONE state (to change the colour of a node's background the node should be in state NONE)
Example:
To change the colour the stable consequence will be:
canvas.applyState('uuid', 'none') canvas.getWiresShape('uuid').setBackgroundColor('green') canvas.draw()