mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-12 21:51:48 +08:00
OSX specific: GalleryDialog: Fixed scale of the default icon
This commit is contained in:
parent
5bd14cf83a
commit
0092c448b8
@ -206,7 +206,11 @@ static void add_lock(wxImage& image)
|
|||||||
|
|
||||||
static void add_default_image(wxImageList* img_list, bool is_system)
|
static void add_default_image(wxImageList* img_list, bool is_system)
|
||||||
{
|
{
|
||||||
wxBitmap bmp = create_scaled_bitmap("cog", nullptr, IMG_PX_CNT, true);
|
int sz = IMG_PX_CNT;
|
||||||
|
#ifdef __APPLE__
|
||||||
|
sz /= mac_max_scaling_factor();
|
||||||
|
#endif
|
||||||
|
wxBitmap bmp = create_scaled_bitmap("cog", nullptr, sz, true);
|
||||||
|
|
||||||
if (is_system) {
|
if (is_system) {
|
||||||
wxImage image = bmp.ConvertToImage();
|
wxImage image = bmp.ConvertToImage();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user