mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-05 00:46:08 +00:00
Add support for pattern wallpapers.
This commit is contained in:
@@ -77,7 +77,7 @@ void SectionWidget::PaintBackground(QWidget *widget, QPaintEvent *event) {
|
||||
|
||||
auto clip = event->rect();
|
||||
auto fill = QRect(0, 0, widget->width(), App::main()->height());
|
||||
if (const auto color = Window::Theme::Background()->color()) {
|
||||
if (const auto color = Window::Theme::Background()->colorForFill()) {
|
||||
p.fillRect(fill, *color);
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user