Browse Source

Fixed updating axis margin after deleting group

css_transitions
jos 10 years ago
parent
commit
2829eb1c7e
2 changed files with 3 additions and 2 deletions
  1. +2
    -0
      src/timeline/component/ItemSet.js
  2. +1
    -2
      test/timeline_groups.html

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

@ -748,6 +748,8 @@ ItemSet.prototype._onRemoveGroups = function _onRemoveGroups(ids) {
}
});
this.markDirty();
this.emit('change');
};

+ 1
- 2
test/timeline_groups.html View File

@ -12,7 +12,6 @@
#visualization {
box-sizing: border-box;
width: 100%;
height: 300px;
}
</style>
@ -75,7 +74,7 @@
var options = {
editable: {
add: true,
//remove: true,
remove: true,
updateTime: true,
updateGroup: true
},

Loading…
Cancel
Save