mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-25 11:01:48 -06:00
Use ctrl+mouse wheel up/down to change brim size
This commit is contained in:
parent
b832370421
commit
00cf9be46e
3 changed files with 76 additions and 23 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue