Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Image-Py/imagepy
/ mouse_wheel
Method
mouse_wheel
imagepy/tools/Standard/scale_tol.py:33–35 ·
view source on GitHub ↗
(self, ips, x, y, d, **key)
Source
from the content-addressed store, hash-verified
31
self.ox, self.oy = x,y
32
33
def
mouse_wheel(self, ips, x, y, d, **key):
34
if
d>0:key[
'canvas'
].zoomout(x,y)
35
if
d<0:key[
'canvas'
].zoomin(x,y)
Callers
nothing calls this directly
Calls
2
zoomout
Method · 0.80
zoomin
Method · 0.80
Tested by
no test coverage detected