mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-11-27 21:00:59 -07:00
FIX:fixed the side menu popup cannot be selected on macos 13
Change-Id: Ic4e9182a1a7175b89f37114b3857e813f299989d
This commit is contained in:
parent
e32792c305
commit
51deb70f64
4 changed files with 18 additions and 2 deletions
|
|
@ -2,6 +2,7 @@
|
|||
#include "Label.hpp"
|
||||
|
||||
#include <wx/dcgraph.h>
|
||||
#include "../GUI_App.hpp"
|
||||
|
||||
|
||||
|
||||
|
|
@ -17,7 +18,6 @@ SidePopup::SidePopup(wxWindow* parent)
|
|||
#ifdef __WINDOWS__
|
||||
SetDoubleBuffered(true);
|
||||
#endif //__WINDOWS__
|
||||
|
||||
}
|
||||
|
||||
SidePopup::~SidePopup()
|
||||
|
|
@ -27,6 +27,7 @@ SidePopup::~SidePopup()
|
|||
|
||||
void SidePopup::OnDismiss()
|
||||
{
|
||||
Slic3r::GUI::wxGetApp().set_side_menu_popup_status(false);
|
||||
wxPopupTransientWindow::OnDismiss();
|
||||
}
|
||||
|
||||
|
|
@ -64,6 +65,7 @@ void SidePopup::Popup(wxWindow* focus)
|
|||
else
|
||||
Position(pos, {0, focus->GetSize().y + 12});
|
||||
}
|
||||
Slic3r::GUI::wxGetApp().set_side_menu_popup_status(true);
|
||||
wxPopupTransientWindow::Popup();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue