1
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-03-25 04:38:23 +00:00

Added alignment of dialogs up button with connecting button.

This commit is contained in:
23rd 2019-04-06 00:24:56 +03:00 committed by John Preston
parent be89a0bf7e
commit 4ad293e2ae

View File

@ -292,7 +292,7 @@ void DialogsWidget::updateScrollUpPosition() {
// _scrollToTop is a child widget of _scroll, not me.
auto top = anim::interpolate(
0,
_scrollToTop->height() + st::historyToDownPosition.y(),
_scrollToTop->height() + st::connectingMargin.top(),
_scrollToTopShown.value(_scrollToTopIsShown ? 1. : 0.));
_scrollToTop->moveToRight(
st::historyToDownPosition.x(),