mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 06:07:06 +02:00
Fix background dimming slider initial visibility.
This commit is contained in:
parent
81f40586a3
commit
ad238108bd
1 changed files with 1 additions and 1 deletions
|
@ -343,7 +343,7 @@ void BackgroundPreviewBox::createDimmingSlider(bool dark) {
|
|||
_dimmingWrap->move(0, top);
|
||||
}, _dimmingWrap->lifetime());
|
||||
|
||||
_dimmingWrap->toggle(!dark, anim::type::instant);
|
||||
_dimmingWrap->toggle(dark, anim::type::instant);
|
||||
_dimmingHeight = _dimmingWrap->heightValue();
|
||||
_dimmingHeight.changes() | rpl::start_with_next([=] {
|
||||
update();
|
||||
|
|
Loading…
Add table
Reference in a new issue