mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
ENH:When software is full screen in mac, the sub frame uses the wxSTAYBON_TOP style
jira: none Change-Id: I338576d77e61a436615e70372b4564c38be0c7dc (cherry picked from commit 645d843dd97949fb6a73e93fc61ffa4a255b20f3)
This commit is contained in:
@@ -246,7 +246,10 @@ DPIFrame(NULL, wxID_ANY, "", wxDefaultPosition, wxDefaultSize, BORDERLESS_FRAME_
|
||||
m_reset_title_text_colour_timer->Stop();
|
||||
m_reset_title_text_colour_timer->Start(500);
|
||||
}
|
||||
}
|
||||
m_mac_fullscreen = false;
|
||||
} else {
|
||||
m_mac_fullscreen = true;
|
||||
}
|
||||
auto int_event = new IntEvent(EVT_NOTICE_FULL_SCREEN_CHANGED, e.IsFullScreen() ? 1 : 0);
|
||||
wxQueueEvent(wxGetApp().plater(), int_event);
|
||||
e.Skip();
|
||||
|
||||
Reference in New Issue
Block a user