fix queue bugs

This commit is contained in:
Boof2015
2026-07-25 20:46:32 -04:00
parent c0683661b4
commit 5ea4c89303
4 changed files with 109 additions and 20 deletions
+7
View File
@@ -1,5 +1,12 @@
export type SwipeLaneSide = 'left' | 'right';
export const SWIPE_ACTIVE_OFFSET_X = 10;
// Scroll-slop-sized: at 30 every vertical drag starting on a row had to travel
// 30px before the pan failed and the surrounding scrollable could win. Keep
// this tighter than the horizontal activation threshold so vertical intent
// yields immediately.
export const SWIPE_FAIL_OFFSET_Y = 6;
/**
* Action lanes sit underneath an opaque row and should only exist visually
* while that row is moving toward them. Keeping them opaque at rest lets a