ENH: dark mode of StateColor

Change-Id: I5928898c50280c7f2eedbb9389032230c7e251c4
This commit is contained in:
chunmao.guo
2022-10-31 14:12:14 +08:00
committed by Lane.Wei
parent 7ce6f96d79
commit 5a2a95362b
20 changed files with 155 additions and 38 deletions

View File

@@ -57,6 +57,7 @@ void SwitchButton::Rescale()
m_off.msw_rescale();
}
else {
SetBackgroundColour(StaticBox::GetParentBackgroundColor(GetParent()));
#ifdef __WXOSX__
auto scale = Slic3r::GUI::mac_max_scaling_factor();
int BS = (int) scale;