Skip to content

Commit

Permalink
fix #305477: fix arrow keys behavior for moving elements
Browse files Browse the repository at this point in the history
Fixup for PR musescore#5763, especially for changes in ad6c858
  • Loading branch information
dmitrio95 committed May 16, 2020
1 parent e925ba0 commit 81cd95f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mscore/events.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -937,6 +937,7 @@ bool ScoreView::handleArrowKeyPress(const QKeyEvent* ev)
return false;
}
editData.delta = delta;
editData.evtDelta = editData.moveDelta = delta;
editData.hRaster = mscore->hRaster();
editData.vRaster = mscore->vRaster();
if (editData.curGrip != Grip::NO_GRIP && int(editData.curGrip) < editData.grips)
Expand Down

0 comments on commit 81cd95f

Please sign in to comment.