@lvce-editor/activity-bar-worker 5.4.0 → 5.5.0
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.
|
@@ -1777,7 +1777,7 @@ const getItemCount = items => {
|
|
|
1777
1777
|
}
|
|
1778
1778
|
return items.length;
|
|
1779
1779
|
};
|
|
1780
|
-
const getIndexFromPosition = (y,
|
|
1780
|
+
const getIndexFromPosition = (y, _eventX, eventY, itemHeight, items, height) => {
|
|
1781
1781
|
const itemCount = getItemCount(items);
|
|
1782
1782
|
if (itemCount === 0) {
|
|
1783
1783
|
return -1;
|
|
@@ -2507,7 +2507,6 @@ const diffChildren = (oldChildren, newChildren, patches) => {
|
|
|
2507
2507
|
patches.push({
|
|
2508
2508
|
type: NavigateParent
|
|
2509
2509
|
});
|
|
2510
|
-
currentChildIndex = -1;
|
|
2511
2510
|
}
|
|
2512
2511
|
// Add remove patches in reverse order (highest index first)
|
|
2513
2512
|
// This ensures indices remain valid as we remove
|