|
|
@ -720,7 +720,7 @@ ItemSet.prototype.setGroups = function(groups) { |
|
|
|
// update the order of all items in each group
|
|
|
|
this._order(); |
|
|
|
|
|
|
|
this.body.emitter.emit('change'); |
|
|
|
this.body.emitter.emit('change', {queue: true}); |
|
|
|
}; |
|
|
|
|
|
|
|
/** |
|
|
@ -825,7 +825,7 @@ ItemSet.prototype._onUpdate = function(ids) { |
|
|
|
|
|
|
|
this._order(); |
|
|
|
this.stackDirty = true; // force re-stacking of all items next redraw
|
|
|
|
this.body.emitter.emit('change'); |
|
|
|
this.body.emitter.emit('change', {queue: true}); |
|
|
|
}; |
|
|
|
|
|
|
|
/** |
|
|
@ -855,7 +855,7 @@ ItemSet.prototype._onRemove = function(ids) { |
|
|
|
// update order
|
|
|
|
this._order(); |
|
|
|
this.stackDirty = true; // force re-stacking of all items next redraw
|
|
|
|
this.body.emitter.emit('change'); |
|
|
|
this.body.emitter.emit('change', {queue: true}); |
|
|
|
} |
|
|
|
}; |
|
|
|
|
|
|
@ -881,7 +881,7 @@ ItemSet.prototype._onUpdateGroups = function(ids) { |
|
|
|
}; |
|
|
|
|
|
|
|
/** |
|
|
|
* Handle changed groups |
|
|
|
* Handle changed groups (added or updated) |
|
|
|
* @param {Number[]} ids |
|
|
|
* @private |
|
|
|
*/ |
|
|
@ -925,7 +925,7 @@ ItemSet.prototype._onAddGroups = function(ids) { |
|
|
|
} |
|
|
|
}); |
|
|
|
|
|
|
|
this.body.emitter.emit('change'); |
|
|
|
this.body.emitter.emit('change', {queue: true}); |
|
|
|
}; |
|
|
|
|
|
|
|
/** |
|
|
@ -946,7 +946,7 @@ ItemSet.prototype._onRemoveGroups = function(ids) { |
|
|
|
|
|
|
|
this.markDirty(); |
|
|
|
|
|
|
|
this.body.emitter.emit('change'); |
|
|
|
this.body.emitter.emit('change', {queue: true}); |
|
|
|
}; |
|
|
|
|
|
|
|
/** |
|
|
|