mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 07:27:41 -06:00
FIX: position of video setting popup
Change-Id: I1e8053f9081b82785a99faad40adf13f756ad5ff
This commit is contained in:
parent
b52c27710b
commit
f0bfbc617a
1 changed files with 3 additions and 1 deletions
|
@ -2852,7 +2852,9 @@ void StatusPanel::on_camera_enter(wxMouseEvent& event)
|
|||
wxWindow* ctrl = (wxWindow*)event.GetEventObject();
|
||||
wxPoint pos = ctrl->ClientToScreen(wxPoint(0, 0));
|
||||
wxSize sz = ctrl->GetSize();
|
||||
m_camera_popup->Position(pos, wxSize(sz.x, sz.y));
|
||||
pos.x += sz.x;
|
||||
pos.y += sz.y;
|
||||
m_camera_popup->SetPosition(pos);
|
||||
m_camera_popup->update(m_media_play_ctrl->IsStreaming());
|
||||
m_camera_popup->Popup();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue