Skip to content
This repository was archived by the owner on Oct 16, 2024. It is now read-only.

Commit 436feaa

Browse files
committed
fixed handle position (idk why it was damaged ¯\_(ツ)_/¯)
1 parent facf286 commit 436feaa

File tree

1 file changed

+2
-2
lines changed
  • examples/react/release/boxes/src/components/actionComponents/Resize/components

1 file changed

+2
-2
lines changed

examples/react/release/boxes/src/components/actionComponents/Resize/components/Handle.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ const Handle: React.FC<HandlePropsInterface> = (props) => {
2525

2626
// Calculate handle position
2727
if (handleAxis.startsWith('n')) position.top = 0;
28-
if (handleAxis.startsWith('s')) position.bottom = 0;
28+
if (handleAxis.startsWith('s')) position.bottom = -8;
2929
if (handleAxis.includes('w')) position.left = 0;
30-
if (handleAxis.includes('e')) position.right = 0;
30+
if (handleAxis.includes('e')) position.right = -8;
3131

3232
if (handleAxis === 'n' || handleAxis === 's') position.left = '50%';
3333
if (handleAxis === 'e' || handleAxis === 'w') position.top = '50%';

0 commit comments

Comments
 (0)