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
dbca370497
commit
3547d1f93b
|
@ -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