mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
FIX: clone shortcut key issue on macos
jira: STUDIO-5166 Change-Id: I1967da1d443ed43bd750dad8e11560688d7bd533
This commit is contained in:
@@ -3097,7 +3097,12 @@ void GLCanvas3D::on_char(wxKeyEvent& evt)
|
||||
#endif /* __APPLE__ */
|
||||
post_event(SimpleEvent(EVT_GLTOOLBAR_DELETE_ALL));
|
||||
break;
|
||||
#ifdef __APPLE__
|
||||
case 'k':
|
||||
case 'K':
|
||||
#else /* __APPLE__ */
|
||||
case WXK_CONTROL_K:
|
||||
#endif /* __APPLE__ */
|
||||
post_event(SimpleEvent(EVT_GLTOOLBAR_CLONE));
|
||||
break;
|
||||
default: evt.Skip();
|
||||
|
||||
Reference in New Issue
Block a user