mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-07-28 11:21:59 +08:00
Try to fix #977
This commit is contained in:
parent
68cd51435f
commit
ee4f2cf549
@ -3379,9 +3379,15 @@ void GLCanvas3D::on_key_down(wxKeyEvent& evt)
|
|||||||
if (key == WXK_DELETE)
|
if (key == WXK_DELETE)
|
||||||
m_on_remove_object_callback.call();
|
m_on_remove_object_callback.call();
|
||||||
else
|
else
|
||||||
|
{
|
||||||
|
#ifdef __WXOSX__
|
||||||
|
if (key == WXK_BACK)
|
||||||
|
m_on_remove_object_callback.call();
|
||||||
|
#endif
|
||||||
evt.Skip();
|
evt.Skip();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Size GLCanvas3D::get_canvas_size() const
|
Size GLCanvas3D::get_canvas_size() const
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user