mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-24 11:22:07 +00:00
ENH: delete objects/parts by back key on macOS
Signed-off-by: yifan.wu <yifan.wu@bambulab.com> Change-Id: I4fb5a940955a3f165fe61b7499509c5c72c53460
This commit is contained in:
@@ -2410,6 +2410,10 @@ void GLCanvas3D::on_char(wxKeyEvent& evt)
|
||||
{
|
||||
//case WXK_BACK:
|
||||
case WXK_DELETE: { post_event(SimpleEvent(EVT_GLTOOLBAR_DELETE)); break; }
|
||||
// BBS
|
||||
#ifdef __APPLE__
|
||||
case WXK_BACK: { post_event(SimpleEvent(EVT_GLTOOLBAR_DELETE)); break; }
|
||||
#endif
|
||||
case WXK_ESCAPE: { deselect_all(); break; }
|
||||
//case WXK_F5: {
|
||||
// if ((wxGetApp().is_editor() && !wxGetApp().plater()->model().objects.empty()) ||
|
||||
|
||||
Reference in New Issue
Block a user