Fix background dimming slider initial visibility.

This commit is contained in:
John Preston 2023-04-24 22:50:36 +04:00
parent 81f40586a3
commit ad238108bd
1 changed files with 1 additions and 1 deletions

View File

@ -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();