fix: Reduce the scroll debounce timeout to 100ms and update only if offset changes (#3182)
* fix: Reduce the scroll debounce timeout to 100ms so offsets get updated faster when the container scrolled fixes https://github.com/excalidraw/excalidraw/issues/3175 * update changelog * update offsets only when if it changes * up * Update src/components/App.tsx Co-authored-by: David Luzar <luzar.david@gmail.com>
This commit is contained in:
@ -94,7 +94,7 @@ export const TOUCH_CTX_MENU_TIMEOUT = 500;
|
||||
export const TITLE_TIMEOUT = 10000;
|
||||
export const TOAST_TIMEOUT = 5000;
|
||||
export const VERSION_TIMEOUT = 30000;
|
||||
export const SCROLL_TIMEOUT = 500;
|
||||
export const SCROLL_TIMEOUT = 100;
|
||||
|
||||
export const ZOOM_STEP = 0.1;
|
||||
|
||||
|
Reference in New Issue
Block a user