mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 06:07:06 +02:00
Fixed position of mini stars in header if gift box.
This commit is contained in:
parent
6a69447d90
commit
86fa98dfbb
1 changed files with 1 additions and 1 deletions
|
@ -1255,7 +1255,7 @@ void GiftBox(
|
|||
stUser.photoSize * 2);
|
||||
content->sizeValue(
|
||||
) | rpl::start_with_next([=](const QSize &size) {
|
||||
widget->moveToLeft(stUser.photoSize / 2, 0);
|
||||
widget->moveToLeft((size.width() - widget->width()) / 2, 0);
|
||||
const auto starsRect = Rect(widget->size());
|
||||
stars->setPosition(starsRect.topLeft());
|
||||
stars->setSize(starsRect.size());
|
||||
|
|
Loading…
Add table
Reference in a new issue