From 8c7886866ca9c46aa7e3d73e833460850bd7d768 Mon Sep 17 00:00:00 2001 From: megaproxy Date: Mon, 25 May 2026 20:32:49 +0100 Subject: [PATCH] Lower promote-gesture threshold from 75% to 50% of sibling pane --- src/lib/layout/Gutter.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib/layout/Gutter.tsx b/src/lib/layout/Gutter.tsx index 30e9e16..b0c28a8 100644 --- a/src/lib/layout/Gutter.tsx +++ b/src/lib/layout/Gutter.tsx @@ -18,7 +18,9 @@ import { type Box, type GutterInfo, MIN_PANE_PX } from "./tree"; * On release while armed, `onPromote` fires. */ const HITBOX_PX = 8; -const PROMOTE_TRIGGER_FRAC = 0.75; +/** Cursor must reach this fraction across the sibling pane (in the exit + * direction) to arm the promote gesture. 0.5 = middle of the sibling. */ +const PROMOTE_TRIGGER_FRAC = 0.5; export default function Gutter({ info,