Fix page up/page down scrolling only half a page

Signed-off-by: Aaron Raimist <aaron@raim.ist>
pull/21833/head
Aaron Raimist 2021-04-25 23:18:09 -05:00
parent 65d55bd0d9
commit e5f0119f66
No known key found for this signature in database
GPG Key ID: 37419210002890EF
1 changed files with 1 additions and 1 deletions

View File

@ -525,7 +525,7 @@ export default class ScrollPanel extends React.Component {
*/
scrollRelative = mult => {
const scrollNode = this._getScrollNode();
const delta = mult * scrollNode.clientHeight * 0.5;
const delta = mult * scrollNode.clientHeight;
scrollNode.scrollBy(0, delta);
this._saveScrollState();
};