mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-27 03:51:53 -06:00
Merge remote-tracking branch 'origin/backspace_to_delete_on_osx'
This commit is contained in:
commit
987fc4c6df
9 changed files with 3877 additions and 2186 deletions
|
@ -3061,7 +3061,13 @@ void GLCanvas3D::on_key_down(wxKeyEvent& evt)
|
|||
if (key == WXK_DELETE)
|
||||
m_on_remove_object_callback.call();
|
||||
else
|
||||
evt.Skip();
|
||||
{
|
||||
#ifdef __WXOSX__
|
||||
if (key == WXK_BACK)
|
||||
m_on_remove_object_callback.call();
|
||||
#endif
|
||||
evt.Skip();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue