pi-extension-utils 0.7.1 → 0.7.3
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/dist/src/pane/overlay.js +2 -2
- package/package.json +1 -1
package/dist/src/pane/overlay.js
CHANGED
|
@@ -399,7 +399,7 @@ export function paneOverlay(options) {
|
|
|
399
399
|
return;
|
|
400
400
|
const direction = event.button === 64 ? -1 : 1;
|
|
401
401
|
if (inPrimaryColumn || (primaryWidth > 0 && event.x <= primaryWidth + 1)) {
|
|
402
|
-
const lines = direction * (event.shift ? 5 :
|
|
402
|
+
const lines = direction * (event.shift ? 5 : 1);
|
|
403
403
|
focus = "primary";
|
|
404
404
|
applyPrimaryNav(bodyHeight, legendLineCount, (state, rows, viewportHeight) => {
|
|
405
405
|
if ((options.primary.mode ?? "scroll") === "cursor") {
|
|
@@ -419,7 +419,7 @@ export function paneOverlay(options) {
|
|
|
419
419
|
});
|
|
420
420
|
}
|
|
421
421
|
else {
|
|
422
|
-
const lines = direction * (event.shift ? 5 :
|
|
422
|
+
const lines = direction * (event.shift ? 5 : 3);
|
|
423
423
|
focus = "detail";
|
|
424
424
|
markDetailManual();
|
|
425
425
|
detailState.scrollOffset = moveScrollOffset({ offset: detailState.scrollOffset, contentLength: detailRows.length, viewportHeight: Math.max(1, bodyHeight) }, lines);
|