|
|
@ -593,7 +593,6 @@ export default function Measure() { |
|
|
|
onClick={() => onMoveLine('left')} |
|
|
|
onTouchStart={() => handlePressStart('left')} |
|
|
|
onTouchEnd={handlePressEnd} |
|
|
|
onTouchCancel={handlePressEnd} |
|
|
|
onContextMenu={handleContextMenu} |
|
|
|
className={ |
|
|
|
style.left === 'active' |
|
|
@ -609,7 +608,6 @@ export default function Measure() { |
|
|
|
onClick={() => onMoveLine('right')} |
|
|
|
onTouchStart={() => handlePressStart('right')} |
|
|
|
onTouchEnd={handlePressEnd} |
|
|
|
onTouchCancel={handlePressEnd} |
|
|
|
onContextMenu={handleContextMenu} |
|
|
|
className={ |
|
|
|
style.right === 'active' |
|
|
@ -625,7 +623,6 @@ export default function Measure() { |
|
|
|
onClick={() => onMoveLine('up')} |
|
|
|
onTouchStart={() => handlePressStart('up')} |
|
|
|
onTouchEnd={handlePressEnd} |
|
|
|
onTouchCancel={handlePressEnd} |
|
|
|
onContextMenu={handleContextMenu} |
|
|
|
className={ |
|
|
|
style.up === 'active' |
|
|
@ -641,7 +638,6 @@ export default function Measure() { |
|
|
|
onClick={() => onMoveLine('down')} |
|
|
|
onTouchStart={() => handlePressStart('down')} |
|
|
|
onTouchEnd={handlePressEnd} |
|
|
|
onTouchCancel={handlePressEnd} |
|
|
|
onContextMenu={handleContextMenu} |
|
|
|
className={ |
|
|
|
style.down === 'active' |
|
|
@ -657,7 +653,6 @@ export default function Measure() { |
|
|
|
onClick={() => onRotationLine('left')} |
|
|
|
onTouchStart={() => handleRotationPressStart('left')} |
|
|
|
onTouchEnd={handlePressEnd} |
|
|
|
onTouchCancel={handlePressEnd} |
|
|
|
onContextMenu={handleContextMenu} |
|
|
|
className={ |
|
|
|
style.left_rotation === 'active' |
|
|
@ -673,7 +668,6 @@ export default function Measure() { |
|
|
|
onClick={() => onRotationLine('right')} |
|
|
|
onTouchStart={() => handleRotationPressStart('right')} |
|
|
|
onTouchEnd={handlePressEnd} |
|
|
|
onTouchCancel={handlePressEnd} |
|
|
|
onContextMenu={handleContextMenu} |
|
|
|
className={ |
|
|
|
style.right_rotation === 'active' |
|
|
|