1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-05 23:10:41 +03:00

Fix linter warning

This commit is contained in:
J. Ryan Stinnett
2019-06-28 15:16:44 +01:00
committed by GitHub
parent 3873dc724a
commit 00dfdfe7f1

View File

@@ -152,7 +152,6 @@ export default class IndicatorScrollbar extends React.Component {
}
if (Math.abs(e.deltaX) <= xyThreshold) { // we are vertically scrolling.
// HACK: We increase the amount of scroll to counteract smooth scrolling browsers.
// Smooth scrolling browsers (Firefox) use the relative area to determine the scroll
// amount, which means the likely small area of content results in a small amount of