mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-06 11:52:58 +00:00
Froze top bar suggestion content during child-list collapse animation.
This commit is contained in:
@@ -1123,7 +1123,8 @@ void Widget::setupTopBarSuggestions() {
|
||||
_innerList,
|
||||
&session(),
|
||||
std::move(on),
|
||||
_childListShown.value());
|
||||
_childListShown.value(),
|
||||
_prepareTopBarSnapshot.events());
|
||||
}) | rpl::flatten_latest() | rpl::on_next([=](
|
||||
Ui::SlideWrap<Ui::RpWidget> *raw) {
|
||||
if (raw) {
|
||||
@@ -3467,6 +3468,7 @@ void Widget::openChildList(
|
||||
}
|
||||
}, shadow->lifetime());
|
||||
|
||||
_prepareTopBarSnapshot.fire({});
|
||||
updateControlsGeometry();
|
||||
updateControlsVisibility(true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user