diff --git a/Telegram/SourceFiles/history/history_view_pull_to_next_channel.cpp b/Telegram/SourceFiles/history/history_view_pull_to_next_channel.cpp index 7c0ca61284..c441f26ba4 100644 --- a/Telegram/SourceFiles/history/history_view_pull_to_next_channel.cpp +++ b/Telegram/SourceFiles/history/history_view_pull_to_next_channel.cpp @@ -277,7 +277,7 @@ void PullToNextChannel::Indicator::paintEvent(QPaintEvent *e) { const auto release = _releaseProgress.value(_ready ? 1. : 0.); const auto alpha = std::clamp(progress, 0., 1.); const auto h = float64(height()); - const auto cx = width() / 2.; + const auto cx = (width() - st::historyScroll.width) / 2.; const auto avatar = float64(st::historyPullNextAvatar); const auto circleRadius = avatar / 2.; const auto bg = _st->msgServiceBg()->c;