Fix typo in swipe-to-reply through QWheelEvent.

This commit is contained in:
John Preston 2024-09-05 11:52:25 +04:00
parent dc2f59ca24
commit 6c5036ee8d

View file

@ -229,7 +229,7 @@ void SetupSwipeHandler(
if (cancel) {
processEnd();
} else {
const auto invert = (w->inverted() ? 1 : 0);
const auto invert = (w->inverted() ? -1 : 1);
updateWith({
.globalCursor = w->globalPosition().toPoint(),
.position = QPointF(),