Fix rendering of TextPath one more time

This commit is contained in:
Anton Lavrenov
2020-11-23 10:09:11 -05:00
parent f50019f176
commit 14156b3222
5 changed files with 18 additions and 22 deletions

View File

@@ -740,7 +740,7 @@ suite('TextPath', function () {
var rect = textpath.getClientRect();
assert.equal(rect.height, 332.3365704376247, 'check height');
assert.equal(rect.height, 328.9307620828596, 'check height');
textpath.text('');
rect = textpath.getClientRect();
@@ -789,7 +789,7 @@ suite('TextPath', function () {
layer.draw();
var rect = textpath.getClientRect();
assert.equal(rect.width, 298.50744485064837);
assert.equal(rect.height, 170.74755779649587);
assert.equal(rect.width, 298.50662860798093);
assert.equal(rect.height, 170.7386880372827);
});
});