From f7cfc851d07f864620da9cd28558bd68280deca5 Mon Sep 17 00:00:00 2001 From: 23rd <23rd@vivaldi.net> Date: Sat, 4 Jul 2026 22:09:13 +0300 Subject: [PATCH] Centered pull-to-next indicator on message column. --- .../SourceFiles/history/history_view_pull_to_next_channel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;