More fixes for silent coercion, which is no more

This commit is contained in:
DarkPhoenix
2022-04-24 02:19:26 +04:00
parent 17712d8b7d
commit 71d088b90a
3 changed files with 7 additions and 7 deletions

View File

@@ -80,7 +80,7 @@ class LoadAnimation(wx.Window):
bh = rect.height
y = 0
dc.DrawRectangle(x, y, barWidth, bh)
dc.DrawRectangle(round(x), round(y), barWidth, bh)
x += barWidth
textColor = wx.SystemSettings.GetColour(wx.SYS_COLOUR_WINDOWTEXT)