xushiting 2 роки тому
батько
коміт
8e1e495096
1 змінених файлів з 3 додано та 1 видалено
  1. 3 1
      src/graphic/Load.js

+ 3 - 1
src/graphic/Load.js

@@ -178,7 +178,9 @@ export default class Load {
             //   this.getXY(width, height, data3d.fixPoints[i].pos)
             // );
             // point.setCategory(VectorCategory.Point.FixPoint);
-            let text = textService.create(data3d.fixPoints[i].pos);
+            let text = textService.create(
+              this.getXY(width, height, data3d.fixPoints[i].pos)
+            );
             text.setValue(data3d.fixPoints[i].text);
             text.setAngle(angle);
           }