FIX: update dark mode color
jira: [STUDIO-9689] Change-Id: I4f0f3f468d6f08195896a9948e4f3636489cbe79
This commit is contained in:
parent
e55b2159c5
commit
bb74d32de9
|
@ -180,7 +180,7 @@ void MaterialItem::render(wxDC &dc)
|
|||
|
||||
auto mapping_txt_size = dc.GetTextExtent(mapping_txt);
|
||||
|
||||
dc.SetTextForeground(wxColour(0x26, 0x2E, 0x30));
|
||||
dc.SetTextForeground(StateColor::darkModeColorFor(wxColour(0x26, 0x2E, 0x30)));
|
||||
dc.SetFont(::Label::Head_12);
|
||||
dc.DrawText(mapping_txt, wxPoint(GetSize().x / 2 + (GetSize().x / 2 - mapping_txt_size.x) / 2 - FromDIP(2), ((float)GetSize().y * 3 / 5 - mapping_txt_size.y) / 2 + (float)GetSize().y * 2 / 5));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue