Commit 0a9b142f authored by Conor Shipp's avatar Conor Shipp Committed by Evan W. Patton

Hide custom colour picker on interaction elsewhere

This commit makes sure that the custom colour picker autohides when the user interacts outside of the picker.

Resolves #979
parent 49c25e75
......@@ -231,6 +231,7 @@ public abstract class ColorChoicePropertyEditor extends PropertyEditor {
advancedPanel = new PopupPanel();
advancedPanel.add(panel);
advancedPanel.setAutoHideEnabled(true);
choices.add(new DropDownItem(WIDGET_NAME, makeCustomHTML(1.0, 255, 0, 0), new Command() {
@Override
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment