Skip to content
Snippets Groups Projects
Commit 674c286e authored by Robert Goldmann's avatar Robert Goldmann
Browse files

Fixed #187 - category color picker --> selected color is not highlighted

parent 34b8317b
No related branches found
No related tags found
1 merge request!213merge v1_6_0 into master
......@@ -145,7 +145,7 @@ public class ColorView extends GridPane
rectangle.getStyleClass().add("color-view-item");
// dotted border
if(color == startColor)
if(ConvertTo.toRGBHex(color).equals(ConvertTo.toRGBHex(startColor)))
{
lastSelectedNode = rectangle;
rectangle.getStrokeDashArray().add(3.0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment