mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-07-20 05:44:30 +08:00
#845 don't trigger shift+tab if you type ctrl+shift+tab
This commit is contained in:
parent
446cc200ce
commit
b6d3143c86
@ -2803,7 +2803,7 @@ void GLCanvas3D::on_key(wxKeyEvent& evt)
|
|||||||
// m_canvas->HandleAsNavigationKey(evt); // XXX: Doesn't work in some cases / on Linux
|
// m_canvas->HandleAsNavigationKey(evt); // XXX: Doesn't work in some cases / on Linux
|
||||||
post_event(SimpleEvent(EVT_GLCANVAS_TAB));
|
post_event(SimpleEvent(EVT_GLCANVAS_TAB));
|
||||||
}
|
}
|
||||||
else if (keyCode == WXK_TAB && evt.ShiftDown() && ! wxGetApp().is_gcode_viewer()) {
|
else if (keyCode == WXK_TAB && evt.ShiftDown() && !evt.ControlDown() && ! wxGetApp().is_gcode_viewer()) {
|
||||||
// Collapse side-panel with Shift+Tab
|
// Collapse side-panel with Shift+Tab
|
||||||
post_event(SimpleEvent(EVT_GLCANVAS_COLLAPSE_SIDEBAR));
|
post_event(SimpleEvent(EVT_GLCANVAS_COLLAPSE_SIDEBAR));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user