~bcsaller/juju-gui/phantom-testing

Viewing all changes in revision 321.

  • Committer: Benjamin Saller
  • Author(s): Benjamin Saller
  • Date: 2013-01-15 20:32:06 UTC
  • mfrom: (311.1.4 scrollwheel)
  • Revision ID: bcsaller@gmail.com-20130115203206-frer9zezu5p7rv2l
Restore Mouse Wheel In PanZoom

The default zoom behavior bound to mouse wheel was doing scaled translation
that didn't play well with the rest of the pan/zoom math. This overrides the
default behavior and fires a standard YUI zoom synthetic event. We are then 
able to manually apply the delta and manage scale/translate ourselves.

R=
CC=
https://codereview.appspot.com/7099046

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: