You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-10 09:22:25 +03:00
Change comment styling
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
@@ -61,8 +61,8 @@ export default class ImageView extends React.Component {
|
|||||||
lastY = 0;
|
lastY = 0;
|
||||||
|
|
||||||
componentDidMount() {
|
componentDidMount() {
|
||||||
// We have to use addEventListener() because the listener
|
/* We have to use addEventListener() because the listener
|
||||||
// needs to be passive in order to work with Chromium
|
* needs to be passive in order to work with Chromium */
|
||||||
this.focusLock.addEventListener('wheel', this.onWheel, { passive: false });
|
this.focusLock.addEventListener('wheel', this.onWheel, { passive: false });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user