2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Animated transition on pattern-on-gradient resize.

This commit is contained in:
John Preston
2021-08-13 21:18:06 +03:00
parent b9a9520ef5
commit 3dadcd9352
17 changed files with 213 additions and 135 deletions

View File

@@ -59,7 +59,7 @@ WrapWidget::WrapWidget(
not_null<Window::SessionController*> window,
Wrap wrap,
not_null<Memento*> memento)
: SectionWidget(parent, window)
: SectionWidget(parent, window, PaintedBackground::Custom)
, _wrap(wrap)
, _controller(createController(window, memento->content()))
, _topShadow(this) {