Status: New
Owner: ----

New issue 257 by [email protected]: MouseWheelZoomEventHandler doesnt stop zooming
http://code.google.com/p/piccolo2d/issues/detail?id=257

What steps will reproduce the problem? What is the expected output? What do you see instead? Using a mouseWheelRotated/ mouseWheelZoomEventHandler causes the panel/scrollpane/swing/canvas to be zoomed very deep. The reason being is that it doesnt stop zooming after stopping to rotate the mouse wheel. Instead it keeps zooming until the x value is NaN.

What version of the product are you using? On what operating system?
Piccolo2D 3.0 on Xubuntu

I used following code to add a mouse wheel zoom event handler:

canvas.removeInputEventListener(canvas.getZoomEventHandler());

final PMouseWheelZoomEventHandler mouseWheelZoomEventHandler = new PMouseWheelZoomEventHandler();
canvas.addInputEventListener(mouseWheelZoomEventHandler);


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
Piccolo2D Developers Group: http://groups.google.com/group/piccolo2d-dev?hl=en
--- You received this message because you are subscribed to the Google Groups "Piccolo2D Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to