You've already forked matrix-react-sdk
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:
@@ -321,7 +321,7 @@ export default class ImageView extends React.Component<IProps, IState> {
|
|||||||
if (this.state.moving) {
|
if (this.state.moving) {
|
||||||
cursor= "grabbing";
|
cursor= "grabbing";
|
||||||
} else if (this.state.maxZoom === this.state.minZoom) {
|
} else if (this.state.maxZoom === this.state.minZoom) {
|
||||||
cursor = "pointer";
|
cursor = "default";
|
||||||
} else if (this.state.zoom === this.state.minZoom) {
|
} else if (this.state.zoom === this.state.minZoom) {
|
||||||
cursor = "zoom-in";
|
cursor = "zoom-in";
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user