mirror of
https://github.com/Boof2015/astra-mobile.git
synced 2026-08-19 04:06:43 +02:00
fix queue bugs
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user