mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Save section expand state in Info memento.
This commit is contained in:
@@ -59,7 +59,7 @@ void SectionWidget::showAnimated(
|
||||
showChildren();
|
||||
auto myContentCache = grabForShowAnimation(params);
|
||||
hideChildren();
|
||||
showAnimatedHook();
|
||||
showAnimatedHook(params);
|
||||
|
||||
_showAnimation = std::make_unique<SlideAnimation>();
|
||||
_showAnimation->setDirection(direction);
|
||||
@@ -69,6 +69,7 @@ void SectionWidget::showAnimated(
|
||||
params.oldContentCache,
|
||||
myContentCache);
|
||||
_showAnimation->setTopBarShadow(params.withTopBarShadow);
|
||||
_showAnimation->setWithFade(params.withFade);
|
||||
_showAnimation->start();
|
||||
|
||||
show();
|
||||
|
Reference in New Issue
Block a user