Skip to content

Commit f2dbaf9

Browse files
Oren PinskyOren Pinsky
authored andcommitted
Fix continuous view cursor positioning
1 parent 6c77ebd commit f2dbaf9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/notationscene/qml/MuseScore/NotationScene/abstractnotationpaintview.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1016,7 +1016,7 @@ bool AbstractNotationPaintView::adjustCanvasPosition(const RectF& logicRect, boo
10161016
bool AbstractNotationPaintView::adjustCanvasPositionSmoothPan(const RectF& cursorRect)
10171017
{
10181018
RectF viewRect = viewport();
1019-
PointF pos(cursorRect.x() - (viewRect.width() / 2), viewRect.y());
1019+
PointF pos(cursorRect.x() - (viewRect.width() * 0.25), viewRect.y());
10201020

10211021
if (!viewport().intersects(cursorRect)) {
10221022
pos.setY(cursorRect.y() - (viewRect.height() / 2));

0 commit comments

Comments
 (0)