OSX specific: Fix of f11e81517d

This commit is contained in:
YuSanka 2021-02-24 15:03:34 +01:00
parent d209c92c80
commit 18ac892ed6

View File

@ -478,7 +478,7 @@ std::vector<wxBitmap*> get_extruder_color_icons(bool thin_icon/* = false*/)
// Paint the color icon. // Paint the color icon.
Slic3r::GUI::BitmapCache::parse_color(color, rgb); Slic3r::GUI::BitmapCache::parse_color(color, rgb);
// there is no neede to scale created solid bitmap // there is no neede to scale created solid bitmap
bitmap = bmp_cache.insert(bitmap_key, bmp_cache.mksolid(icon_width, icon_height, rgb, false, 1, dark_mode)); bitmap = bmp_cache.insert(bitmap_key, bmp_cache.mksolid(icon_width, icon_height, rgb, true, 1, dark_mode));
} }
bmps.emplace_back(bitmap); bmps.emplace_back(bitmap);
} }