Skip to content

Commit

Permalink
slider: change ctrl and shift modifiers
Browse files Browse the repository at this point in the history
Ctrl now does * 0.01 and shift does * 100.
  • Loading branch information
itsmattkc committed May 7, 2021
1 parent 4b58d55 commit 029b826
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/widget/slider/base/sliderladder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -214,11 +214,11 @@ void SliderLadder::TimerUpdate()
double multiplier = 1.0;

if (qApp->keyboardModifiers() & Qt::ControlModifier) {
multiplier *= 0.1;
multiplier *= 0.01;
}

if (qApp->keyboardModifiers() & Qt::ShiftModifier) {
multiplier *= 0.1;
multiplier *= 100.0;
}

emit DraggedByValue(x_mvmt + y_mvmt, multiplier);
Expand Down

0 comments on commit 029b826

Please sign in to comment.