Skip to content

Commit 5b89456

Browse files
no controls for corners, still movable though
1 parent fc93456 commit 5b89456

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/components/Board/Board.tsx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -654,6 +654,17 @@ const Board = React.forwardRef<BoardActions, BoardProps>(
654654
"_" +
655655
item.id,
656656
});
657+
group.setControlsVisibility({
658+
mt: false, // Middle top control
659+
mb: false, // Middle bottom control
660+
ml: false, // Middle left control
661+
mr: false, // Middle right control
662+
bl: false, // Bottom left corner
663+
br: false, // Bottom right corner
664+
tl: false, // Top left corner
665+
tr: false, // Top right corner
666+
mtr: false, // Rotation control
667+
});
657668
const positionMap = [
658669
"topLeft",
659670
"top",

0 commit comments

Comments
 (0)