mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-09-28 10:43:13 +08:00
FIX:If studio is not activated in mac, the window of filme_group_popup will not pop up
jira: STUDIO-12228 Change-Id: Ic1ca62e68fb13c7cbf8ee35f948b05b01e010a62
This commit is contained in:
parent
e0401306c1
commit
63ba575f0e
@ -1691,6 +1691,11 @@ wxBoxSizer* MainFrame::create_side_tools()
|
||||
m_filament_group_popup = new FilamentGroupPopup(m_slice_btn);
|
||||
|
||||
auto try_hover_pop_up = [this]() {
|
||||
#ifdef __APPLE__
|
||||
if (!IsActive()) {
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
wxPoint pos = m_slice_btn->ClientToScreen(wxPoint(0, 0));
|
||||
pos.y += m_slice_btn->GetRect().height * 1.25;
|
||||
pos.x -= (m_slice_option_btn->GetRect().width + FromDIP(380) * 0.6);
|
||||
|
Loading…
x
Reference in New Issue
Block a user