mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-12 20:39:00 +08:00
Fix linux assertion
This commit is contained in:
parent
3a185d7f57
commit
451f04b590
@ -112,9 +112,7 @@ public:
|
|||||||
|
|
||||||
Bind(wxEVT_SIZE, [this](wxSizeEvent &) {
|
Bind(wxEVT_SIZE, [this](wxSizeEvent &) {
|
||||||
const wxSize ClientSize = GetClientSize();
|
const wxSize ClientSize = GetClientSize();
|
||||||
|
|
||||||
m_display->set_screen_size(ClientSize.x, ClientSize.y);
|
m_display->set_screen_size(ClientSize.x, ClientSize.y);
|
||||||
m_display->repaint();
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user