controls/LogViewer.py
changeset 1846 14b40afccd69
parent 1832 0f1081928d65
child 1847 6198190bc121
--- a/controls/LogViewer.py	Tue Oct 03 16:12:55 2017 +0300
+++ b/controls/LogViewer.py	Tue Oct 03 16:31:31 2017 +0300
@@ -119,7 +119,6 @@
     def OnMotion(self, event):
         if event.Dragging() and self.ThumbScrollingStartPos is not None:
             posx, posy = event.GetPosition()
-            width, height = self.GetClientSize()
             range_rect = self.GetRangeRect()
             thumb_size = range_rect.height * THUMB_SIZE_RATIO
             thumb_range = range_rect.height - thumb_size