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'); this.emit('change');
}; };

+ 1
- 2
test/timeline_groups.html View File

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

Loading…
Cancel
Save