Zoom by using mouse scroll (Not by using ctrl+scroll)

Hi,

The second and third arguments are the offset values to the current mouse position. If you want to zoom in with respect to the current mouse position then you actually don’t want to have any offsets. I think if you just pass 0 and 0 in it should work.

Thanks,
Zhijie

1 Like