@lvce-editor/quick-pick-worker 4.0.0 → 4.1.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.
|
@@ -1579,7 +1579,7 @@ const handleScrollBarPointerUp = (state, pointerId) => {
|
|
|
1579
1579
|
};
|
|
1580
1580
|
};
|
|
1581
1581
|
|
|
1582
|
-
const create = (uid, uri, listItemHeight, x, y, width, height, platform, args, workspaceUri, assetDir) => {
|
|
1582
|
+
const create = (uid, uri, listItemHeight, x, y, width, height, platform, args, _renderAllItems, workspaceUri, assetDir) => {
|
|
1583
1583
|
const state = {
|
|
1584
1584
|
allowEmptyResult: false,
|
|
1585
1585
|
cursorOffset: 0,
|
|
@@ -2710,6 +2710,9 @@ const parseGotoline = value => {
|
|
|
2710
2710
|
if (Number.isNaN(wantedLine)) {
|
|
2711
2711
|
return -1;
|
|
2712
2712
|
}
|
|
2713
|
+
if (wantedLine < 1) {
|
|
2714
|
+
return -1;
|
|
2715
|
+
}
|
|
2713
2716
|
return wantedLine;
|
|
2714
2717
|
};
|
|
2715
2718
|
|