1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-05 23:10:41 +03:00

Change cursor to default

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner
2021-04-26 15:01:06 +02:00
parent dbca370497
commit 3547d1f93b

View File

@@ -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 {