diff --git a/Telegram/SourceFiles/history/history_view_swipe.cpp b/Telegram/SourceFiles/history/history_view_swipe.cpp index 794592239..f27f265a1 100644 --- a/Telegram/SourceFiles/history/history_view_swipe.cpp +++ b/Telegram/SourceFiles/history/history_view_swipe.cpp @@ -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(),