mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 23:23:57 -06:00
Change Math.floor to Math.round as a last try to fix garbled fonts
CURA-4941
This commit is contained in:
parent
a792fc59eb
commit
b531c0550d
36 changed files with 213 additions and 213 deletions
|
@ -118,8 +118,8 @@ SettingItem
|
|||
UM.RecolorImage {
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
width: Math.floor(parent.width / 2.5)
|
||||
height: Math.floor(parent.height / 2.5)
|
||||
width: Math.round(parent.width / 2.5)
|
||||
height: Math.round(parent.height / 2.5)
|
||||
sourceSize.width: width
|
||||
sourceSize.height: width
|
||||
color: !enabled ? UM.Theme.getColor("setting_control_disabled_text") : UM.Theme.getColor("setting_control_text");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue