Browse Source

fixed release with navigation buttons

v3_develop
Alex de Mulder 10 years ago
parent
commit
2f17bd94dd
3 changed files with 26228 additions and 26214 deletions
  1. +4
    -0
      HISTORY.md
  2. +26218
    -26213
      dist/vis.js
  3. +6
    -1
      lib/network/Network.js

+ 4
- 0
HISTORY.md View File

@ -9,6 +9,10 @@ http://visjs.org
- Fixed height of background items when having a fixed or max height defined.
- Fixed only one item being dragged when multiple items are selected.
### Network
- Fixed onRelease with navigation option.
## 2014-10-28, version 3.6.3

+ 26218
- 26213
dist/vis.js
File diff suppressed because it is too large
View File


+ 6
- 1
lib/network/Network.js View File

@ -746,11 +746,16 @@ Network.prototype._create = function () {
this.hammer.on('dragstart', me._onDragStart.bind(me) );
this.hammer.on('drag', me._onDrag.bind(me) );
this.hammer.on('dragend', me._onDragEnd.bind(me) );
this.hammer.on('release', me._onRelease.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.hammerFrame = Hammer(this.frame, {
prevent_default: true
});
this.hammerFrame.on('release', me._onRelease.bind(me) );
// add the frame to the container element
this.containerElement.appendChild(this.frame);

Loading…
Cancel
Save