Skip to content

Commit

Permalink
style changes on grab.
Browse files Browse the repository at this point in the history
  • Loading branch information
ds committed Dec 14, 2023
1 parent fa8f298 commit e5fb0d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/map/Movable.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ function Movable(props) {
<g
is="custom"
class={'draggable'}
style={{ cursor: moving ? 'grabbing' : 'grab' }}
onMouseDown={e => handleMouseDown(e)}
onMouseUp={e => handleMouseUp(e)}
id={'movable_' + props.id}
Expand Down
1 change: 1 addition & 0 deletions src/components/map/RelativeMovable.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ function RelativeMovable(props) {
<g
key={'movable_' + props.id}
className={'draggable'}
style={{ cursor: moving ? 'grabbing' : 'grab' }}
onMouseDown={e => handleMouseDown(e)}
onMouseUp={e => handleMouseUp(e)}
id={'movable_' + props.id}
Expand Down

0 comments on commit e5fb0d4

Please sign in to comment.