controls/DebugVariablePanel/DebugVariableViewer.py
changeset 2437 105c20fdeb19
parent 1881 091005ec69c4
child 2456 7373e3048167
--- a/controls/DebugVariablePanel/DebugVariableViewer.py	Fri Oct 05 13:48:54 2018 +0300
+++ b/controls/DebugVariablePanel/DebugVariableViewer.py	Fri Oct 05 14:22:01 2018 +0300
@@ -24,6 +24,7 @@
 
 
 from __future__ import absolute_import
+from __future__ import division
 from collections import OrderedDict
 
 import wx
@@ -375,7 +376,7 @@
         _width, height = self.GetSize()
 
         # Mouse is in the first half of Viewer
-        if y < height / 2:
+        if y < height // 2:
             # If Viewer is the upper one, draw drop before highlight
             if self.ParentWindow.IsViewerFirst(self):
                 self.SetHighlight(HIGHLIGHT_BEFORE)