mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-14 09:02:06 +00:00
FIX: speed switch popup window display bug
Jira: [STUDIO-14642] Change-Id: If95ca1b448b2d3a03c2f6d6c0b5faad4a3c04e8c (cherry picked from commit 08943207564c0256d5a5efea9440e55efb7ccea0)
This commit is contained in:
@@ -4662,6 +4662,9 @@ void StatusPanel::on_switch_speed(wxCommandEvent &event)
|
||||
PopupWindow *popUp = new PopupWindow(nullptr);
|
||||
#else
|
||||
PopupWindow *popUp = new PopupWindow(m_switch_speed);
|
||||
#endif
|
||||
#ifdef __WXMSW__
|
||||
popUp->BindUnfocusEvent();
|
||||
#endif
|
||||
popUp->SetBackgroundColour(StateColor::darkModeColorFor(0xeeeeee));
|
||||
StepCtrl *step = new StepCtrl(popUp, wxID_ANY);
|
||||
|
||||
Reference in New Issue
Block a user