Browse Source

비행구역 좌표정보창 커서 포인터 style 조건 변경

pull/2/head
junh_eee(이준희) 10 months ago
parent
commit
07312389cc
  1. 8
      src/components/laanc/map/LaancAreaMap.js

8
src/components/laanc/map/LaancAreaMap.js

@ -376,7 +376,13 @@ export default function LaancAreaMap({
<LaancMapSearch mapObject={mapObject} />
<div
className='d-flex coords-wrap'
style={{ cursor: 'pointer' }}
style={{
cursor:
scrollRef?.current?.scrollWidth >
scrollRef?.current?.clientWidth
? 'pointer'
: 'default'
}}
ref={scrollRef}
onMouseDown={onMouseDown}
onMouseMove={isDrag ? throttle(onMouseMove, 50) : null}

Loading…
Cancel
Save