mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 22:55:11 +00:00
Simplify Image, remove ImageSource.
This commit is contained in:
@@ -659,7 +659,7 @@ bool BackgroundPreviewBox::setScaledFromThumb() {
|
||||
: _media
|
||||
? _media->thumbnail()
|
||||
: nullptr;
|
||||
if (!thumbnail || !thumbnail->loaded()) {
|
||||
if (!thumbnail) {
|
||||
return false;
|
||||
} else if (_paper.isPattern() && _paper.document() != nullptr) {
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user