Update color wheel call

This commit is contained in:
luboslenco
2020-07-04 19:36:42 +02:00
parent c97411f20e
commit d3cc36d0ad
+2 -2
View File
@@ -156,7 +156,7 @@ class BoxPreferences {
UIMenu.draw(function(ui) {
ui.fill(0, 0, ui._w / ui.ops.scaleFactor, ui.t.ELEMENT_H * 6, ui.t.SEPARATOR_COL);
ui.changed = false;
zui.Ext.colorWheel(ui, h, false, null, false, false);
zui.Ext.colorWheel(ui, h, false, null, false);
if (ui.changed) UIMenu.keepOpen = true;
}, 3);
}
@@ -197,7 +197,7 @@ class BoxPreferences {
UIMenu.draw(function(ui) {
ui.fill(0, 0, ui._w / ui.ops.scaleFactor, ui.t.ELEMENT_H * 6, ui.t.SEPARATOR_COL);
ui.changed = false;
untyped theme[key] = zui.Ext.colorWheel(ui, h, false, null, false, false);
untyped theme[key] = zui.Ext.colorWheel(ui, h, false, null, false);
if (ui.changed) UIMenu.keepOpen = true;
}, 3);
}