about summary refs log tree commit diff
path: root/src/lib/hooks/useAnimatedValue.ts
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2023-07-02 15:03:16 -0500
committerGitHub <noreply@github.com>2023-07-02 15:03:16 -0500
commit97f0d3431c47bd707b02d0db63dbdf66a5de5484 (patch)
treef183b2a3686821d5c426de6d7cd24df60f27a494 /src/lib/hooks/useAnimatedValue.ts
parent7ee7d968e58897eaf43c55ebd12987a3cf3751b0 (diff)
downloadvoidsky-97f0d3431c47bd707b02d0db63dbdf66a5de5484.tar.zst
fix: stabilize minimalShellMode toggling by introducing modified thresholds (supersedes #938) (#942)
* add separate scroll up/down thresholds to prevent rapid state changes

* set `DY_LIMIT_DOWN` to 150

* Use a different scroll dy limit on web/mobile

---------

Co-authored-by: Sehyun Chung <sehyun.chung@icloud.com>
Diffstat (limited to 'src/lib/hooks/useAnimatedValue.ts')
0 files changed, 0 insertions, 0 deletions