Fix rounding errors for garbled text

CURA-4941
This commit is contained in:
Mark 2018-02-09 11:30:56 +01:00
parent 183792ae09
commit 8fca183a5e
17 changed files with 76 additions and 76 deletions

View file

@ -484,7 +484,7 @@ UM.MainWindow
anchors
{
horizontalCenter: parent.horizontalCenter
horizontalCenterOffset: -(UM.Theme.getSize("sidebar").width/ 2)
horizontalCenterOffset: -(Math.floor(UM.Theme.getSize("sidebar").width/ 2))
top: parent.verticalCenter;
bottom: parent.bottom;
}