MCPcopy Create free account
hub / github.com/Image-Py/imagepy / mouse_wheel

Method mouse_wheel

imagepy/tools/Standard/move_tol.py:28–30  ·  view source on GitHub ↗
(self, ips, x, y, d, **key)

Source from the content-addressed store, hash-verified

26 self.ox, self.oy = x,y
27
28 def mouse_wheel(self, ips, x, y, d, **key):
29 if d>0:key['canvas'].zoomout(x,y)
30 if d<0:key['canvas'].zoomin(x,y)

Callers

nothing calls this directly

Calls 2

zoomoutMethod · 0.80
zoominMethod · 0.80

Tested by

no test coverage detected