|
@@ -318,7 +318,7 @@
|
|
|
name: currentTool.name + 'circle',
|
|
name: currentTool.name + 'circle',
|
|
|
x: x,
|
|
x: x,
|
|
|
y: y,
|
|
y: y,
|
|
|
- radius: 5 / scale / getDefaultScale(layer?.scaleX()),
|
|
|
|
|
|
|
+ radius: 8 / scale / getDefaultScale(layer?.scaleX()),
|
|
|
visible: true, //是否显示
|
|
visible: true, //是否显示
|
|
|
fill: currentTool.anchorColor,
|
|
fill: currentTool.anchorColor,
|
|
|
stroke: currentTool.anchorColor,
|
|
stroke: currentTool.anchorColor,
|
|
@@ -326,7 +326,7 @@
|
|
|
strokeWidth: 0.5,
|
|
strokeWidth: 0.5,
|
|
|
strokeScaleEnabled: false,
|
|
strokeScaleEnabled: false,
|
|
|
//增加点击区域
|
|
//增加点击区域
|
|
|
- hitStrokeWidth: 8 / scale / getDefaultScale(layer?.scaleX()),
|
|
|
|
|
|
|
+ hitStrokeWidth: 12 / scale / getDefaultScale(layer?.scaleX()),
|
|
|
//设置拖动区域,不能超过舞台大小
|
|
//设置拖动区域,不能超过舞台大小
|
|
|
dragBoundFunc: function (pos) {
|
|
dragBoundFunc: function (pos) {
|
|
|
//左上角
|
|
//左上角
|