Change comment styling

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2020-12-20 20:05:27 +01:00
parent 18de342fa1
commit 776b0e8198

View file

@ -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 });
} }