mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 07:27:41 -06:00
FIX: Revert "[STUDIO-2186] hide PopupWindow on alt-tab"
This reverts commit 3b8c11659a6cf3062ad27772348b84be5001a4f6. Reason for revert: update pick Change-Id: Id991af5b4a5950ee76ecf59176eabc72c885db88
This commit is contained in:
parent
5c61c834b0
commit
5f69f4c016
23 changed files with 70 additions and 139 deletions
|
@ -2840,9 +2840,9 @@ void StatusPanel::on_switch_speed(wxCommandEvent &event)
|
|||
}
|
||||
#if __WXOSX__
|
||||
// MacOS has focus problem
|
||||
PopupWindow *popUp = new PopupWindow(nullptr);
|
||||
wxPopupTransientWindow *popUp = new wxPopupTransientWindow(nullptr);
|
||||
#else
|
||||
PopupWindow *popUp = new PopupWindow(m_switch_speed);
|
||||
wxPopupTransientWindow *popUp = new wxPopupTransientWindow(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