You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-07 10:46:24 +03:00
stupid linter >:(
This commit is contained in:
@@ -137,8 +137,7 @@ export default class IndicatorScrollbar extends React.Component {
|
|||||||
if (Math.abs(e.deltaX) > 0) {
|
if (Math.abs(e.deltaX) > 0) {
|
||||||
this._likelyTrackpadUser = true;
|
this._likelyTrackpadUser = true;
|
||||||
this._checkAgainForTrackpad = now + (1 * 60 * 1000);
|
this._checkAgainForTrackpad = now + (1 * 60 * 1000);
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
// if we haven't seen any horizontal scrolling for a while, assume
|
// if we haven't seen any horizontal scrolling for a while, assume
|
||||||
// the user might have plugged in a mousewheel
|
// the user might have plugged in a mousewheel
|
||||||
if (this._likelyTrackpadUser && now >= this._checkAgainForTrackpad) {
|
if (this._likelyTrackpadUser && now >= this._checkAgainForTrackpad) {
|
||||||
|
|||||||
Reference in New Issue
Block a user