COsdSetup: use paint for apply new gradient settings, reduced flicker effects

This commit is contained in:
2015-03-03 23:03:31 +01:00
parent 0d6f0a8c88
commit eb3971e909

View File

@@ -1136,8 +1136,8 @@ bool COsdSetup::changeNotify(const neutrino_locale_t OptionName, void * data)
return false;
}
else if(ARE_LOCALES_EQUAL(OptionName, LOCALE_COLOR_GRADIENT)) {
osd_menu->hide();
return true;
osd_menu->paint();
return false;
}
else if(ARE_LOCALES_EQUAL(OptionName, LOCALE_COLORMENU_OSD_PRESET)) {
int preset = * (int *) data;