mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-08-19 01:35:56 +08:00
FIX: clone shortcut key issue on macos
jira: STUDIO-5166 Change-Id: I1967da1d443ed43bd750dad8e11560688d7bd533
This commit is contained in:
parent
dcb2e73acc
commit
ac84186368
@ -3097,7 +3097,12 @@ void GLCanvas3D::on_char(wxKeyEvent& evt)
|
|||||||
#endif /* __APPLE__ */
|
#endif /* __APPLE__ */
|
||||||
post_event(SimpleEvent(EVT_GLTOOLBAR_DELETE_ALL));
|
post_event(SimpleEvent(EVT_GLTOOLBAR_DELETE_ALL));
|
||||||
break;
|
break;
|
||||||
|
#ifdef __APPLE__
|
||||||
|
case 'k':
|
||||||
|
case 'K':
|
||||||
|
#else /* __APPLE__ */
|
||||||
case WXK_CONTROL_K:
|
case WXK_CONTROL_K:
|
||||||
|
#endif /* __APPLE__ */
|
||||||
post_event(SimpleEvent(EVT_GLTOOLBAR_CLONE));
|
post_event(SimpleEvent(EVT_GLTOOLBAR_CLONE));
|
||||||
break;
|
break;
|
||||||
default: evt.Skip();
|
default: evt.Skip();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user