OSX specific: GalleryDialog: Fixed scale of the default icon
This commit is contained in:
parent
5bd14cf83a
commit
0092c448b8
1 changed files with 5 additions and 1 deletions
|
@ -206,7 +206,11 @@ static void add_lock(wxImage& image)
|
|||
|
||||
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) {
|
||||
wxImage image = bmp.ConvertToImage();
|
||||
|
|
Loading…
Reference in a new issue