mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-21 04:13:50 +00:00
FIX:fixed the wrong popup pos of printer list dialog
Change-Id: Ie69bcac45c7595a8568018633ba3691abd77377c
This commit is contained in:
@@ -322,7 +322,7 @@ void MonitorPanel::on_printer_clicked(wxMouseEvent &event)
|
|||||||
if (!m_side_tools->is_in_interval()) {
|
if (!m_side_tools->is_in_interval()) {
|
||||||
wxPoint pos = m_side_tools->ClientToScreen(wxPoint(0, 0));
|
wxPoint pos = m_side_tools->ClientToScreen(wxPoint(0, 0));
|
||||||
pos.y += m_side_tools->GetRect().height;
|
pos.y += m_side_tools->GetRect().height;
|
||||||
pos.x = pos.x < 0? 0:pos.x;
|
//pos.x = pos.x < 0? 0:pos.x;
|
||||||
m_select_machine.Position(pos, wxSize(0, 0));
|
m_select_machine.Position(pos, wxSize(0, 0));
|
||||||
|
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
|
|||||||
Reference in New Issue
Block a user