(self, ips, x, y, d, **key)
| 46 | self.odx, self.ody = x, y |
| 47 | |
| 48 | def mouse_wheel(self, ips, x, y, d, **key): |
| 49 | lim = 5.0/key['canvas'].get_scale() |
| 50 | if not isinstance(ips.roi, pointroi.PointRoi):return |
| 51 | if not self.onobj is None: |
| 52 | cur = ips.roi.body[self.onobj][2] |
| 53 | ips.roi.draged(self.odx, self.ody, x, y, cur+d, self.onobj) |
| 54 | ips.update() |