mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-10-11 06:12:56 +02:00
Fix linux assertion
This commit is contained in:
1 parent
3a185d7f57
commit
451f04b590
1 file changed
+1
-3
@@ -110,11 +110,9 @@ public:
|
||||
m_display->repaint();
|
||||
});
|
||||
|
||||
Bind(wxEVT_SIZE, [this](wxSizeEvent &) {
|
||||
Bind(wxEVT_SIZE, [this](wxSizeEvent &) {
|
||||
const wxSize ClientSize = GetClientSize();
|
||||
|
||||
m_display->set_screen_size(ClientSize.x, ClientSize.y);
|
||||
m_display->repaint();
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user