336c0344b937
lower flick velocity threshold 0.4→0.2 px/ms for more responsive bottom-sheet swipe-up
- time
- 2026-05-09 00:41 UTC · 5 months ago
- machine
- koh2
- parent
- 7c377a164f3f
↓ peach-browser-336c0344.tar.gzatlas at this save
files changed1 file
src/popup/App.tsx+2 −2src/popup/App.tsx+2 −2
@@ -592,8 +592,8 @@592592 // - Strong downward velocity → close593593 // - Otherwise snap to whichever rest is closer594594 let nextOpen: boolean;595- if (velocity < -0.4) nextOpen = true;596- else if (velocity > 0.4) nextOpen = false;595+ if (velocity < -0.2) nextOpen = true;596+ else if (velocity > 0.2) nextOpen = false;597597 else nextOpen = current < restClosed * 0.5;598598 599599 if (nextOpen && v !== "list") setView("list");