Reduce delay a little bit.

master
Guillaume Seguin 2013-05-18 17:16:01 +02:00
parent 13592b865f
commit 97f7635fbd
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ class gviz(wx.Panel):
self.update_basescale()
newside = max(1.0, min(self.size))
zoomratio = float(newside) / oldside
wx.CallLater(500, self.zoom, 0, 0, zoomratio)
wx.CallLater(200, self.zoom, 0, 0, zoomratio)
def zoom(self, x, y, factor):
if x == -1 and y == -1: