mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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->move(0, top);
|
||||||
}, _dimmingWrap->lifetime());
|
}, _dimmingWrap->lifetime());
|
||||||
|
|
||||||
_dimmingWrap->toggle(!dark, anim::type::instant);
|
_dimmingWrap->toggle(dark, anim::type::instant);
|
||||||
_dimmingHeight = _dimmingWrap->heightValue();
|
_dimmingHeight = _dimmingWrap->heightValue();
|
||||||
_dimmingHeight.changes() | rpl::start_with_next([=] {
|
_dimmingHeight.changes() | rpl::start_with_next([=] {
|
||||||
update();
|
update();
|
||||||
|
|
Loading…
Add table
Reference in a new issue