sel: cap touch scroll to 10px

Signed-off-by: Varun Patil <radialapps@gmail.com>
pull/685/head
Varun Patil 2023-06-02 20:18:24 -07:00
parent 089c5298c4
commit dd38ba04f2
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ type Selection = Map<number, IPhoto>;
const TOUCH_SELECT_CLAMP = {
top: 110, // min top for scrolling
bottom: 110, // min bottom for scrolling
maxDelta: 15, // max speed of touch scroll
maxDelta: 10, // max speed of touch scroll
bufferPx: 5, // number of pixels to clamp inside recycler area
};