updated the logic for the cursor
the cursor chainging on hover ws causing issues when drawing across a field
This commit is contained in:
parent
e09425a465
commit
3b400c6cf7
1 changed files with 6 additions and 8 deletions
|
|
@ -595,19 +595,17 @@ export default function MapBase(props: Props) {
|
|||
}}
|
||||
onMouseEnter={() => {
|
||||
if (
|
||||
!props.editorMode ||
|
||||
!props.placingMarker ||
|
||||
props.editorMode === "none" ||
|
||||
!props.placingMarker
|
||||
(props.editorMode === "none" || props.editorMode === undefined) &&
|
||||
!props.placingMarker &&
|
||||
!props.drawMeasurement
|
||||
)
|
||||
onMouseEnter();
|
||||
}}
|
||||
onMouseLeave={() => {
|
||||
if (
|
||||
!props.editorMode ||
|
||||
!props.placingMarker ||
|
||||
props.editorMode === "none" ||
|
||||
!props.placingMarker
|
||||
(props.editorMode === "none" || props.editorMode === undefined) &&
|
||||
!props.placingMarker &&
|
||||
!props.drawMeasurement
|
||||
)
|
||||
onMouseLeave();
|
||||
}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue