Browse Source

Fixed #459: content in range items may overflow range after zoom

v3_develop
jos 9 years ago
parent
commit
95e12e42da
8 changed files with 25878 additions and 25880 deletions
  1. +1
    -0
      HISTORY.md
  2. +1
    -1
      dist/vis.css
  3. +25860
    -25862
      dist/vis.js
  4. +1
    -1
      dist/vis.map
  5. +1
    -1
      dist/vis.min.css
  6. +13
    -12
      dist/vis.min.js
  7. +0
    -2
      lib/timeline/component/ItemSet.js
  8. +1
    -1
      lib/timeline/component/css/item.css

+ 1
- 0
HISTORY.md View File

@ -7,6 +7,7 @@ http://visjs.org
### Timeline
- Implemented selection of a range of items using Shift+Click.
- Fixed content in range items may overflow range after zoom.
- Fixed onAdd/onUpdate callbacks when using a DataView (thanks @motzel).
### Graph2D

+ 1
- 1
dist/vis.css View File

@ -207,6 +207,7 @@
border-style: solid;
border-radius: 2px;
box-sizing: border-box;
overflow: hidden;
}
.vis.timeline .item.background {
@ -222,7 +223,6 @@
position: relative;
display: inline-block;
overflow: hidden;
max-width: 100%;
}
.vis.timeline .item.background .content {

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


+ 1
- 1
dist/vis.map
File diff suppressed because it is too large
View File


+ 1
- 1
dist/vis.min.css
File diff suppressed because it is too large
View File


+ 13
- 12
dist/vis.min.js
File diff suppressed because it is too large
View File


+ 0
- 2
lib/timeline/component/ItemSet.js View File

@ -1395,8 +1395,6 @@ ItemSet.prototype._onMultiSelectItem = function (event) {
// multi select items
selection = this.getSelection(); // current selection
console.log('multiselect', selection, item)
var shiftKey = event.gesture.touches[0] && event.gesture.touches[0].shiftKey || false;
if (shiftKey) {
// select all items between the old selection and the tapped item

+ 1
- 1
lib/timeline/component/css/item.css View File

@ -47,6 +47,7 @@
border-style: solid;
border-radius: 2px;
box-sizing: border-box;
overflow: hidden;
}
.vis.timeline .item.background {
@ -62,7 +63,6 @@
position: relative;
display: inline-block;
overflow: hidden;
max-width: 100%;
}
.vis.timeline .item.background .content {

Loading…
Cancel
Save