mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-08-10 19:47:35 +00:00
Use ctrl+mouse wheel up/down to change brim size
This commit is contained in:
@@ -849,13 +849,15 @@ bool GLGizmosManager::on_key(wxKeyEvent& evt)
|
||||
if (gizmo_event(SLAGizmoEventType::AltUp) || (is_editing && is_rectangle_dragging))
|
||||
processed = true;
|
||||
}
|
||||
|
||||
// BBS
|
||||
if (m_current == MmuSegmentation && keyCode > '0' && keyCode <= '9') {
|
||||
// capture number key
|
||||
processed = true;
|
||||
else if (keyCode == WXK_CONTROL) {
|
||||
gizmo_event(SLAGizmoEventType::CtrlUp);
|
||||
}
|
||||
}
|
||||
// BBS
|
||||
if (m_current == MmuSegmentation && keyCode > '0' && keyCode <= '9') {
|
||||
// capture number key
|
||||
processed = true;
|
||||
}
|
||||
if (m_current == Measure || m_current == Assembly) {
|
||||
if (keyCode == WXK_CONTROL)
|
||||
gizmo_event(SLAGizmoEventType::CtrlUp, Vec2d::Zero(), evt.ShiftDown(), evt.AltDown(), evt.CmdDown());
|
||||
|
||||
Reference in New Issue
Block a user