You've already forked matrix-react-sdk
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:
@@ -152,7 +152,6 @@ export default class IndicatorScrollbar extends React.Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (Math.abs(e.deltaX) <= xyThreshold) { // we are vertically scrolling.
|
if (Math.abs(e.deltaX) <= xyThreshold) { // we are vertically scrolling.
|
||||||
|
|
||||||
// HACK: We increase the amount of scroll to counteract smooth scrolling browsers.
|
// HACK: We increase the amount of scroll to counteract smooth scrolling browsers.
|
||||||
// Smooth scrolling browsers (Firefox) use the relative area to determine the scroll
|
// 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
|
// amount, which means the likely small area of content results in a small amount of
|
||||||
|
|||||||
Reference in New Issue
Block a user