Skip to content

Commit 4445e9b

Browse files
committed
feat(core): modify ROTATE_HANDLE_DISTANCE_TO_ELEMENT #WIK-19005
1 parent 2f397b7 commit 4445e9b

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/tricky-dryers-lay.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@plait/common': minor
3+
---
4+
5+
modify ROTATE_HANDLE_DISTANCE_TO_ELEMENT

packages/common/src/constants/default.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export const RESIZE_HANDLE_DIAMETER = 9;
44
export const WithTextPluginKey = 'plait-text-plugin-key';
55
export const DEFAULT_ROUTE_MARGIN = 30;
66
export const TRANSPARENT = 'transparent';
7-
export const ROTATE_HANDLE_DISTANCE_TO_ELEMENT = 20;
7+
export const ROTATE_HANDLE_DISTANCE_TO_ELEMENT = 4;
88
export const ROTATE_HANDLE_SIZE = 18;
99
export const DEFAULT_FONT_FAMILY = `-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Noto Sans', 'Noto Sans CJK SC', 'Microsoft Yahei', 'Hiragino Sans GB', Arial, sans-serif`;
1010
export const DEFAULT_FILL = 'none';

0 commit comments

Comments
 (0)