mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-26 21:51:13 +01:00
simbase
add fg_color + extra check for it
This commit is contained in:
@@ -242,9 +242,9 @@ void SimulatorBase::process_ui_button(json& uiItem)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (bg_color != button_bg_color(button))
|
if (bg_color != button_bg_color(button) || fg_color != button_color(button))
|
||||||
{
|
{
|
||||||
set_button_color(button, QColor(), bg_color);
|
set_button_color(button, fg_color, bg_color);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user