We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent acccc5e commit 9aeb3bdCopy full SHA for 9aeb3bd
1 file changed
pyface/dock/dock_sizer.py
@@ -1314,7 +1314,7 @@ def draw(self, dc):
1314
# should be a darkish color in the users color scheme
1315
pen = wx.Pen(wx.SystemSettings.GetColour(wx.SYS_COLOUR_BTNSHADOW))
1316
dc.SetPen(pen)
1317
- dc.DrawLine(x + idx + 1, y + dy / 2, x + dx - 2, y + dy / 2)
+ dc.DrawLine(x + idx + 1, y + dy // 2, x + dx - 2, y + dy // 2)
1318
1319
iy = y + 2
1320
ix = x
@@ -1327,7 +1327,7 @@ def draw(self, dc):
1327
1328
1329
1330
- dc.DrawLine(x + dx / 2, y + idy + 1, x + dx / 2, y + dy - 2)
+ dc.DrawLine(x + dx // 2, y + idy + 1, x + dx // 2, y + dy - 2)
1331
1332
iy = y
1333
ix = x + 2
0 commit comments