mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 06:05:38 +00:00
Re-enabled support for using the default property without any imageType property for the image element
This commit is contained in:
parent
e00967acfa
commit
471d0ac63a
|
@ -548,7 +548,7 @@ void ImageComponent::applyTheme(const std::shared_ptr<ThemeData>& theme,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!mThemeImageTypes.empty() && elem->has("default"))
|
if (elem->has("default"))
|
||||||
setDefaultImage(elem->get<std::string>("default"));
|
setDefaultImage(elem->get<std::string>("default"));
|
||||||
|
|
||||||
bool tile {elem->has("tile") && elem->get<bool>("tile")};
|
bool tile {elem->has("tile") && elem->get<bool>("tile")};
|
||||||
|
|
Loading…
Reference in a new issue