FIX: update dark mode color

jira: [STUDIO-9689]
Change-Id: I4f0f3f468d6f08195896a9948e4f3636489cbe79
This commit is contained in:
xin.zhang 2025-01-10 11:21:00 +08:00 committed by lane.wei
parent e55b2159c5
commit bb74d32de9
1 changed files with 1 additions and 1 deletions

View File

@ -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));
}