设计器形状锚点文本过长换行时画布缩小后文本变大问题

This commit is contained in:
446052889@qq.com 2022-11-08 18:03:08 +08:00
parent 140a9ada10
commit 2cf503713a

View File

@ -4822,8 +4822,9 @@ var Designer = {
if (tempShapeWidth < 100) {
tempShapeWidth = 100;
}
H[0].width = tempShapeWidth + 10;
H[0].height = Math.ceil(D / tempShapeWidth) * 10 + 15;
H[0].width = (tempShapeWidth + 10).toScale();
H[0].height = (Math.ceil(D / tempShapeWidth) * 10 + 15).toScale();
b.scale(Designer.config.scale, Designer.config.scale);
for (var v = 0; v < Math.ceil(D / tempShapeWidth); v++) {
var tempL = (v + 1) * tempShapeWidth;
var tempX = 0;