Skip to content

Commit

Permalink
Fixes #2532815 - MouseWheel no longer makes use of the _gesture prope…
Browse files Browse the repository at this point in the history
…rty and this can be removed.
  • Loading branch information
derek committed Oct 1, 2012
1 parent 2ba0279 commit 58dd0c0
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/scrollview/js/paginator-plugin.js
Expand Up @@ -292,12 +292,6 @@ Y.extend(PaginatorPlugin, Y.Plugin.Base, {
isForward = e.wheelDelta < 0, // down (negative) is forward. @TODO Should revisit.
paginatorAxis = paginator._cAxis;

// Set the axis for this event.
// @TODO: This is hacky, it's not a gesture. Find a better way
host._gesture = {
axis: DIM_Y
};

// Only if the mousewheel event occurred on a DOM node inside the BB
if (bb.contains(e.target) && paginatorAxis[DIM_Y]) {

Expand Down

0 comments on commit 58dd0c0

Please sign in to comment.