parent
							
								
									57b34f8dbc
								
							
						
					
					
						commit
						e0e9ccbf95
					
				|  | @ -100,7 +100,6 @@ export default class ImageView extends React.Component<IProps, IState> { | |||
|     private previousY = 0; | ||||
| 
 | ||||
|     componentDidMount() { | ||||
|         console.log("LOG calculating", this.props.width, this.props.height); | ||||
|         // We have to use addEventListener() because the listener
 | ||||
|         // needs to be passive in order to work with Chromium
 | ||||
|         this.focusLock.current.addEventListener('wheel', this.onWheel, { passive: false }); | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Šimon Brandner
						Šimon Brandner