further improve dampening values

This commit is contained in:
hippoz 2021-11-01 02:10:22 +02:00
parent 7fb4e97f9e
commit 04664e5f9b
Signed by: hippoz
GPG key ID: 7C52899193467641

View file

@ -13,8 +13,8 @@
window.onerror = e => domlog(` ERROR - ${e} `); window.onerror = e => domlog(` ERROR - ${e} `);
const HOLDING_THRESHOLD_MS = 300; const HOLDING_THRESHOLD_MS = 300;
const SCROLL_X_DAMPENING = 0.05; const SCROLL_X_DAMPENING = 0.03;
const SCROLL_Y_DAMPENING = 0.06; const SCROLL_Y_DAMPENING = 0.09;
const loggerOfType = (components, type='log') => (...args) => { const loggerOfType = (components, type='log') => (...args) => {
let str = '%c'; let str = '%c';