mirror of https://github.com/vector-im/riot-web
Change cursor to default
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>pull/21833/head
parent
3716ec4a25
commit
2f147c2e98
|
@ -321,7 +321,7 @@ export default class ImageView extends React.Component<IProps, IState> {
|
|||
if (this.state.moving) {
|
||||
cursor= "grabbing";
|
||||
} else if (this.state.maxZoom === this.state.minZoom) {
|
||||
cursor = "pointer";
|
||||
cursor = "default";
|
||||
} else if (this.state.zoom === this.state.minZoom) {
|
||||
cursor = "zoom-in";
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue