0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 20:42:43 +00:00

Change throttle options

This commit is contained in:
G.Ambatte
2022-06-04 18:35:22 +12:00
parent ff2268871d
commit ee3c521094

View File

@@ -203,7 +203,7 @@ const Editor = createClass({
setTimeout(()=>{
brewRenderer.scrollTo({ top: currentPos + targetPos, behavior: 'smooth', block: 'start' });
}, bounceDelay);
}, scrollDelay, { leading: true });
}, scrollDelay, { leading: true, trailing: false });
};
this.throttleBrewMove(currentPos, interimPos, targetPos);