Parcourir la source

SBaseEquipment<fix>:解决设备信息点坐标bug

YaolongHan il y a 4 ans
Parent
commit
1bc89950f2
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      persagy-web-big-edit/src/items/SBaseEquipment.ts

+ 1 - 1
persagy-web-big-edit/src/items/SBaseEquipment.ts

@@ -182,7 +182,7 @@ export class SBaseEquipment extends SBaseIconTextEdit {
             item.propertyData = val;
             item.text = val.name;
             if (val.pos) {
-                item.moveTo(val.pos.x, val.pos.x)
+                item.moveTo(val.pos.x, val.pos.y)
             } else {
                 item.moveTo(
                     this.img.width * 0.5,