mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-06 15:13:57 +02:00
Fix check display in background box.
This commit is contained in:
parent
d7cb8b7065
commit
bc63d9fe53
1 changed files with 1 additions and 1 deletions
|
@ -329,7 +329,7 @@ void BackgroundBox::Inner::paintPaper(
|
||||||
if (paper.data.id() == Window::Theme::Background()->id()) {
|
if (paper.data.id() == Window::Theme::Background()->id()) {
|
||||||
const auto checkLeft = x + st::backgroundSize.width() - st::overviewCheckSkip - st::overviewCheck.size;
|
const auto checkLeft = x + st::backgroundSize.width() - st::overviewCheckSkip - st::overviewCheck.size;
|
||||||
const auto checkTop = y + st::backgroundSize.height() - st::overviewCheckSkip - st::overviewCheck.size;
|
const auto checkTop = y + st::backgroundSize.height() - st::overviewCheckSkip - st::overviewCheck.size;
|
||||||
_check->paint(p, crl::now(), checkLeft, checkTop, width());
|
_check->paint(p, checkLeft, checkTop, width());
|
||||||
} else if (Data::IsCloudWallPaper(paper.data)
|
} else if (Data::IsCloudWallPaper(paper.data)
|
||||||
&& !Data::IsDefaultWallPaper(paper.data)
|
&& !Data::IsDefaultWallPaper(paper.data)
|
||||||
&& over.has_value()
|
&& over.has_value()
|
||||||
|
|
Loading…
Add table
Reference in a new issue