UI speedup

This commit is contained in:
Kilrah
2017-11-20 12:47:32 +01:00
parent 6064d3222b
commit 0658b2a2c4
+1 -1
View File
@@ -517,7 +517,7 @@ bool menuScreensTheme(event_t event)
ZoneOptionValue * value = theme->getOptionValue(index);
bool ret = editZoneOption(y, option, value, attr, EE_GENERAL, event);
if (option->type == ZoneOption::Color) {
if (event == EVT_KEY_FIRST(KEY_EXIT)) {
if (attr && event == EVT_KEY_FIRST(KEY_EXIT)) {
theme->update();
}
}