@quenty/observablecollection 12.18.0 → 12.18.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [12.18.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/observablecollection@12.18.0...@quenty/observablecollection@12.18.1) (2025-01-22)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* Avoid firing events when we add and remove immediately within the same frame ([760eab8](https://github.com/Quenty/NevermoreEngine/commit/760eab89580cb2ebf422457778c424fd3ab28f00))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [12.18.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/observablecollection@12.17.0...@quenty/observablecollection@12.18.0) (2025-01-19)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @quenty/observablecollection
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/observablecollection",
|
|
3
|
-
"version": "12.18.
|
|
3
|
+
"version": "12.18.1",
|
|
4
4
|
"description": "A set of observable collections, such as sets, maps, sorted lists, and more.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"publishConfig": {
|
|
47
47
|
"access": "public"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "86c00a8210666aa2da1950fc3a41945763d4c321"
|
|
50
50
|
}
|
|
@@ -415,7 +415,12 @@ function ObservableSortedList:_assignSortValue(node, value)
|
|
|
415
415
|
|
|
416
416
|
if value == nil then
|
|
417
417
|
if self._root and self._root:ContainsNode(node) then
|
|
418
|
-
self.
|
|
418
|
+
if self._nodesAdded[node] then
|
|
419
|
+
self._nodesAdded[node] = nil
|
|
420
|
+
else
|
|
421
|
+
self._nodesRemoved[node] = true
|
|
422
|
+
end
|
|
423
|
+
|
|
419
424
|
self:_applyLowestIndexChanged(node:GetIndex())
|
|
420
425
|
self:_removeNode(node)
|
|
421
426
|
node.value = nil
|