Skip to content

Commit

Permalink
feat: 마우스 가운데 버튼 클릭 시 커서 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
n-ryu committed Dec 9, 2022
1 parent 325e3ce commit b3839b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/src/container/diagram/Diagram.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ const Diagram = ({ showDone }: { showDone: boolean }): ReactElement => {
onMouseMove={onMouseMove}
onMouseLeave={onWheelLeave}
onClick={getOnClick('None', '')}
style={{ cursor: isWheelDown.current ? 'grab' : 'auto' }}
ref={domRef}
>
<Detector />
Expand Down

0 comments on commit b3839b4

Please sign in to comment.