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.
@@ -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 : 3);
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 : 1);
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);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-extension-utils",
3
- "version": "0.7.1",
3
+ "version": "0.7.3",
4
4
  "description": "Shared Pi extension utilities for coordinated widgets, fullscreen leases, and logging.",
5
5
  "type": "module",
6
6
  "main": "./dist/src/index.js",