mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Correctly round spoiler animation in ExtendedMedia.
This commit is contained in:
@@ -990,7 +990,9 @@ object_ptr<Ui::RpWidget> ForwardsPrivacyController::setupAboveWidget(
|
||||
auto context = theme->preparePaintContext(
|
||||
_chatStyle.get(),
|
||||
widget->rect(),
|
||||
widget->rect());
|
||||
widget->rect(),
|
||||
_controller->isGifPausedAtLeastFor(
|
||||
Window::GifPauseReason::Layer));
|
||||
p.translate(padding / 2, padding + view->marginBottom());
|
||||
context.outbg = view->hasOutLayout();
|
||||
view->draw(p, context);
|
||||
|
Reference in New Issue
Block a user