2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-02 07:35:12 +00:00

Add support for pattern wallpapers.

This commit is contained in:
John Preston
2019-01-29 10:29:38 +03:00
parent c2744700c0
commit b6edf4561d
13 changed files with 401 additions and 107 deletions

View File

@@ -1057,7 +1057,7 @@ bool MainWidget::sendMessageFail(const RPCError &error) {
}
void MainWidget::cacheBackground() {
if (Window::Theme::Background()->color()) {
if (Window::Theme::Background()->colorForFill()) {
return;
} else if (Window::Theme::Background()->tile()) {
auto &bg = Window::Theme::Background()->pixmapForTiled();