also use relative scrolling when eh ... doing relative scrolling

This commit is contained in:
Bruno Windels
2020-03-04 10:26:27 +00:00
committed by J. Ryan Stinnett
parent 462c3411b2
commit 070b430702
+1 -1
View File
@@ -523,7 +523,7 @@ export default createReactClass({
scrollRelative: function(mult) {
const scrollNode = this._getScrollNode();
const delta = mult * scrollNode.clientHeight * 0.5;
scrollNode.scrollTop = scrollNode.scrollTop + delta;
scrollNode.scrollBy(0, delta);
this._saveScrollState();
},