mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-16 04:51:30 +03:00
Always allow moving
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
0dff150bb2
commit
096fb33397
1 changed files with 0 additions and 2 deletions
|
@ -161,8 +161,6 @@ export default class ImageView extends React.Component {
|
||||||
ev.stopPropagation();
|
ev.stopPropagation();
|
||||||
ev.preventDefault();
|
ev.preventDefault();
|
||||||
|
|
||||||
if (this.state.zoom <= 100) return false;
|
|
||||||
|
|
||||||
this.setState({moving: true});
|
this.setState({moving: true});
|
||||||
this.initX = ev.pageX - this.lastX;
|
this.initX = ev.pageX - this.lastX;
|
||||||
this.initY = ev.pageY - this.lastY;
|
this.initY = ev.pageY - this.lastY;
|
||||||
|
|
Loading…
Reference in a new issue