mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-20 02:43:02 +00:00
Restore select all plates as its own action (#12256)
restore select all plates as its own function Co-authored-by: SoftFever <softfeverever@gmail.com>
This commit is contained in:
@@ -3272,8 +3272,12 @@ void GLCanvas3D::on_char(wxKeyEvent& evt)
|
||||
#else /* __APPLE__ */
|
||||
case WXK_CONTROL_A:
|
||||
#endif /* __APPLE__ */
|
||||
if (!is_in_painting_mode && !m_layers_editing.is_enabled())
|
||||
post_event(SimpleEvent(EVT_GLCANVAS_SELECT_CURR_PLATE_ALL));
|
||||
if (!is_in_painting_mode && !m_layers_editing.is_enabled()) {
|
||||
if (evt.ShiftDown())
|
||||
post_event(SimpleEvent(EVT_GLCANVAS_SELECT_ALL));
|
||||
else
|
||||
post_event(SimpleEvent(EVT_GLCANVAS_SELECT_CURR_PLATE_ALL));
|
||||
}
|
||||
break;
|
||||
#ifdef __APPLE__
|
||||
case 'c':
|
||||
|
||||
Reference in New Issue
Block a user