mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-04 21:12:41 +00:00
Change throttle options
This commit is contained in:
@@ -203,7 +203,7 @@ const Editor = createClass({
|
|||||||
setTimeout(()=>{
|
setTimeout(()=>{
|
||||||
brewRenderer.scrollTo({ top: currentPos + targetPos, behavior: 'smooth', block: 'start' });
|
brewRenderer.scrollTo({ top: currentPos + targetPos, behavior: 'smooth', block: 'start' });
|
||||||
}, bounceDelay);
|
}, bounceDelay);
|
||||||
}, scrollDelay, { leading: true });
|
}, scrollDelay, { leading: true, trailing: false });
|
||||||
};
|
};
|
||||||
this.throttleBrewMove(currentPos, interimPos, targetPos);
|
this.throttleBrewMove(currentPos, interimPos, targetPos);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user