设计器形状锚点文本过长换行时画布缩小后文本变大问题
This commit is contained in:
parent
140a9ada10
commit
2cf503713a
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user