|
@ -5060,7 +5060,7 @@ ItemSet.prototype._checkIfInvisible = function _checkIfInvisible(item) { |
|
|
* this function is very similar to the _checkIfInvisible() but it does not return booleans, hides the item if it should not be seen and always adds to the visibleItems. |
|
|
* this function is very similar to the _checkIfInvisible() but it does not return booleans, hides the item if it should not be seen and always adds to the visibleItems. |
|
|
* this one is for brute forcing and hiding. |
|
|
* this one is for brute forcing and hiding. |
|
|
* |
|
|
* |
|
|
* @param {itemRange | itemPoint | itemBox} item |
|
|
|
|
|
|
|
|
* @param {Item} item |
|
|
* @param {array} visibleItems |
|
|
* @param {array} visibleItems |
|
|
* @private |
|
|
* @private |
|
|
*/ |
|
|
*/ |
|
@ -5332,7 +5332,7 @@ ItemSet.prototype._onUpdate = function _onUpdate(ids) { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
me.items[id] = item; |
|
|
me.items[id] = item; |
|
|
if (type == 'range') { |
|
|
|
|
|
|
|
|
if (type == 'range' && me.visibleItems.indexOf(item) == -1) { |
|
|
me._checkIfVisible(item, me.visibleItems); |
|
|
me._checkIfVisible(item, me.visibleItems); |
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|