Centered pull-to-next indicator on message column.

This commit is contained in:
23rd
2026-07-04 22:09:13 +03:00
committed by John Preston
parent 666caf67cd
commit f7cfc851d0
@@ -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;