summaryrefslogtreecommitdiff
path: root/scene/resources/default_theme
diff options
context:
space:
mode:
authorYuri Sizov <yuris@humnom.net>2022-08-23 14:15:31 +0300
committerYuri Sizov <yuris@humnom.net>2022-08-24 15:59:14 +0300
commitc78cbb523fda2ce682219a7eb5693a64859d5b6e (patch)
treed831febb879f1170de3df2e3029a0eb022b9fe46 /scene/resources/default_theme
parent0626ce50cfd35d1eb81c6c9627f8540be9636b4b (diff)
Extract editor color map and simplify SVG color conversion
Diffstat (limited to 'scene/resources/default_theme')
-rw-r--r--scene/resources/default_theme/default_theme.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/default_theme/default_theme.cpp b/scene/resources/default_theme/default_theme.cpp
index b96ee5c6c4..6d99073fa4 100644
--- a/scene/resources/default_theme/default_theme.cpp
+++ b/scene/resources/default_theme/default_theme.cpp
@@ -84,7 +84,7 @@ static Ref<ImageTexture> generate_icon(int p_index) {
// with integer scales.
const bool upsample = !Math::is_equal_approx(Math::round(scale), scale);
ImageLoaderSVG img_loader;
- img_loader.create_image_from_string(img, default_theme_icons_sources[p_index], scale, upsample, false);
+ img_loader.create_image_from_string(img, default_theme_icons_sources[p_index], scale, upsample, HashMap<Color, Color>());
#endif
return ImageTexture::create_from_image(img);