Skip to content

Commit

Permalink
Fix typo in swipe-to-reply through QWheelEvent.
Browse files Browse the repository at this point in the history
  • Loading branch information
john-preston committed Sep 5, 2024
1 parent dc2f59c commit 6c5036e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Telegram/SourceFiles/history/history_view_swipe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit 6c5036e

Please sign in to comment.