|
|
@ -76,6 +76,7 @@ const addSelect = () => { |
|
|
|
rotationEnabled: false, |
|
|
|
rotateEnabled: false, // 禁用旋转手势 |
|
|
|
rotationSnaps: [], // 移除旋转刻度 |
|
|
|
anchorSize: 20, |
|
|
|
enabledAnchors: ['top-center', 'bottom-center', 'middle-left', 'middle-right'], // 关键修改 |
|
|
|
boundBoxFunc(oldBoundBox, newBoundBox) { |
|
|
|
const stageWidth = stage.value.width() |
|
|
|