|
@@ -213,7 +213,7 @@ export class SIconTextItem extends SObjectItem {
|
|
this.textItem.text = "";
|
|
this.textItem.text = "";
|
|
this.textItem.font.size = 12;
|
|
this.textItem.font.size = 12;
|
|
// 偏移二分之一文本高度
|
|
// 偏移二分之一文本高度
|
|
- this.textItem.moveTo((this.img.width * 0.5) + 2, -(this.textItem.height * 0.5));
|
|
|
|
|
|
+ this.textItem.moveTo((this.img.width * 0.5), -(this.font.size * 1.25 * 0.5));
|
|
this.moveable = true;
|
|
this.moveable = true;
|
|
this.selectable = true;
|
|
this.selectable = true;
|
|
}
|
|
}
|