FIX:fixed dark mode correction in gcode view page

Change-Id: I4b2dd266024a5858aa5003e3f418cb5f2053d80f
This commit is contained in:
tao wang 2023-05-25 11:05:39 +08:00 committed by Lane.Wei
parent a7138a47ad
commit 12a66c5c70
1 changed files with 2 additions and 0 deletions

View File

@ -514,6 +514,8 @@ void TextCtrl::BUILD() {
if (m_opt.is_code) // BBS
temp->SetFont(Slic3r::GUI::wxGetApp().normal_font());
temp->SetForegroundColour(StateColor::darkModeColorFor(*wxBLACK));
wxGetApp().UpdateDarkUI(temp);
if (! m_opt.multiline && !wxOSX)