@@ -72,7 +72,7 @@ void MousePointer::handleMouseEvent(ulong timestamp, QPointF movement, Qt::Mouse
72 } else if (newX >= sceneWidth) { // right edge
72 } else if (newX >= sceneWidth) { // right edge
73 Q_EMIT pushedRightBoundary(newX - (sceneWidth - 1), buttons);
73 Q_EMIT pushedRightBoundary(newX - (sceneWidth - 1), buttons);
74 } else if (newY < m_panelHeight) { // top edge
74 } else if (newY < m_panelHeight) { // top edge
75− Q_EMIT pushedTopBoundary(qAbs(newY), buttons);
75+ Q_EMIT pushedTopBoundary(qAbs(newY - m_panelHeight), buttons);
76 } else if (Q_LIKELY(newX >= 0 && newX < sceneWidth && newY >= 0 && newY < sceneHeight)) { // normal pos, not pushing
76 } else if (Q_LIKELY(newX >= 0 && newX < sceneWidth && newY >= 0 && newY < sceneHeight)) { // normal pos, not pushing
77 Q_EMIT pushStopped();
77 Q_EMIT pushStopped();