mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Merge tag 'v4.16.8' into dev
# Conflicts: # Telegram/Resources/winrc/Telegram.rc # Telegram/Resources/winrc/Updater.rc # Telegram/SourceFiles/core/version.h # Telegram/lib_ui # snap/snapcraft.yaml
This commit is contained in:
@@ -775,8 +775,8 @@ void Widget::updateScrollUpPosition() {
|
||||
_scrollToTop->moveToRight(
|
||||
st::historyToDownPosition.x(),
|
||||
_scroll->height() - top);
|
||||
const auto shouldBeHidden =
|
||||
!_scrollToTopIsShown && !_scrollToTopShown.animating();
|
||||
const auto shouldBeHidden
|
||||
= !_scrollToTopIsShown && !_scrollToTopShown.animating();
|
||||
if (shouldBeHidden != _scrollToTop->isHidden()) {
|
||||
_scrollToTop->setVisible(!shouldBeHidden);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user