Browse Source

Fixed non-working scroll on FF

css_transitions
josdejong 11 years ago
parent
commit
3be9da2a4b
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/graph/Graph.js

+ 1
- 0
src/graph/Graph.js View File

@ -304,6 +304,7 @@ Graph.prototype._create = function () {
this.hammer.on('drag', me._onDrag.bind(me) ); this.hammer.on('drag', me._onDrag.bind(me) );
this.hammer.on('dragend', me._onDragEnd.bind(me) ); this.hammer.on('dragend', me._onDragEnd.bind(me) );
this.hammer.on('mousewheel',me._onMouseWheel.bind(me) ); this.hammer.on('mousewheel',me._onMouseWheel.bind(me) );
this.hammer.on('DOMMouseScroll',me._onMouseWheel.bind(me) ); // for FF
this.hammer.on('mousemove', me._onMouseMoveTitle.bind(me) ); this.hammer.on('mousemove', me._onMouseMoveTitle.bind(me) );
// add the frame to the container element // add the frame to the container element

Loading…
Cancel
Save