@lvce-editor/quick-pick-worker 4.19.3 → 4.20.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.
|
@@ -2174,7 +2174,7 @@ const focusIndex = async (state, index) => {
|
|
|
2174
2174
|
await focusPick(providerId, items[index]);
|
|
2175
2175
|
if (index < minLineY + 1) {
|
|
2176
2176
|
const minLineY = index;
|
|
2177
|
-
const maxLineY = Math.min(index + maxVisibleItems, items.length
|
|
2177
|
+
const maxLineY = Math.min(index + maxVisibleItems, items.length);
|
|
2178
2178
|
const sliced = items.slice(minLineY, maxLineY);
|
|
2179
2179
|
const {
|
|
2180
2180
|
icons,
|