FIX: [STUDIO-1565] adjust ui style of media file buttons

Change-Id: Ia3598ca8a15e357021d8b74f645f4d34a853dd91
This commit is contained in:
chunmao.guo 2022-12-02 13:11:01 +08:00 committed by Lane.Wei
parent 5a6263c9f3
commit 36efeea30b
3 changed files with 8 additions and 5 deletions

View file

@ -703,7 +703,7 @@ void ParamsPanel::notify_object_config_changed()
if (has_config == m_has_object_config) return;
m_has_object_config = has_config;
if (has_config)
m_mode_region->SetTextColor2(StateColor(std::pair{*wxWHITE, (int) StateColor::Checked}, std::pair{wxGetApp().get_label_clr_modified(), 0}));
m_mode_region->SetTextColor2(StateColor(std::pair{0xfffffe, (int) StateColor::Checked}, std::pair{wxGetApp().get_label_clr_modified(), 0}));
else
m_mode_region->SetTextColor2(StateColor());
m_mode_region->Rescale();