mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 04:25:57 +08:00
Revert 6b379428d4e0b053fd07292d9889f35cb51f3f44
This commit is contained in:
parent
eebb9e3fe7
commit
8c862ade29
@ -2657,14 +2657,7 @@ ScalableButton::ScalableButton( wxWindow * parent,
|
|||||||
SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW));
|
SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW));
|
||||||
#endif // __WXMSW__
|
#endif // __WXMSW__
|
||||||
|
|
||||||
/* #FIXME Edit preset Buttons under OSX.
|
SetBitmap(create_scaled_bitmap(parent, icon_name));
|
||||||
* Because of _strange_ layout of a Button with a scaled Bitmap on nonactive wxWindow,
|
|
||||||
* there is just temporary workaround.
|
|
||||||
* Send to create_scaled_bitmap(nullptr,...) for buttons without text =>
|
|
||||||
* Bitmaps for this Buttons wouldn't be scaled and would be some blurred now, but
|
|
||||||
* they would be correctly updated on Plater
|
|
||||||
*/
|
|
||||||
SetBitmap(create_scaled_bitmap(label.IsEmpty() ? nullptr : parent, icon_name));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user