Closed gillins closed 7 years ago
Original comment by Sam Gillingham (Bitbucket: gillins, GitHub: gillins).
Thanks @freespace. I've committed a fix in 360dec0 that fixed a few other places as well. Let me know if you agree with these changes or not.
I've used angleDelta()
since this seems to match what the old delta()
call did in Qt4
.
Original report by Shuning Bian (Bitbucket: Steve, GitHub: Steve).
After loading a raster image use of the mouse wheel to zoom causes tuiview to crash immediately due to
delta()
being deprecated. Patch to fix this is attached, though I am not sure if the direction is correct, or ifangleDelta()
should be used overpixelDelta()
. Thehasattr
check is probably also extraneous since PyQt5 is import explicitly.