mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 07:27:41 -06:00
FIX: [STUDIO-2186] hide PopupWindow on alt-tab
Change-Id: Ie1bffdd9ace2c6e05979743da9f75ca2c1e87cf3
This commit is contained in:
parent
6faecbf718
commit
81dea77932
23 changed files with 139 additions and 70 deletions
|
@ -2840,9 +2840,9 @@ void StatusPanel::on_switch_speed(wxCommandEvent &event)
|
|||
}
|
||||
#if __WXOSX__
|
||||
// MacOS has focus problem
|
||||
wxPopupTransientWindow *popUp = new wxPopupTransientWindow(nullptr);
|
||||
PopupWindow *popUp = new PopupWindow(nullptr);
|
||||
#else
|
||||
wxPopupTransientWindow *popUp = new wxPopupTransientWindow(m_switch_speed);
|
||||
PopupWindow *popUp = new PopupWindow(m_switch_speed);
|
||||
#endif
|
||||
popUp->SetBackgroundColour(StateColor::darkModeColorFor(0xeeeeee));
|
||||
StepCtrl *step = new StepCtrl(popUp, wxID_ANY);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue