You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-11 20:22:36 +03:00
Remove unused code
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
@@ -160,18 +160,6 @@ export default class ImageView extends React.Component {
|
||||
});
|
||||
}
|
||||
|
||||
onZoomClick = () => {
|
||||
if (this.state.zoom <= this.minZoom) {
|
||||
this.setState({zoom: this.maxZoom});
|
||||
} else {
|
||||
this.setState({
|
||||
zoom: this.minZoom,
|
||||
translationX: 0,
|
||||
translationY: 0,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
onStartMoving = ev => {
|
||||
ev.stopPropagation();
|
||||
ev.preventDefault();
|
||||
|
||||
Reference in New Issue
Block a user