Commit 97f7635f authored by Guillaume Seguin's avatar Guillaume Seguin

Reduce delay a little bit.

parent 13592b86
...@@ -207,7 +207,7 @@ class gviz(wx.Panel): ...@@ -207,7 +207,7 @@ class gviz(wx.Panel):
self.update_basescale() self.update_basescale()
newside = max(1.0, min(self.size)) newside = max(1.0, min(self.size))
zoomratio = float(newside) / oldside 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): def zoom(self, x, y, factor):
if x == -1 and y == -1: if x == -1 and y == -1:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment