mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-04-09 00:40:59 +00:00
Fix text test.
This commit is contained in:
parent
b330c9d715
commit
801fd3fb4d
1 changed files with 2 additions and 1 deletions
|
|
@ -175,7 +175,8 @@
|
|||
ok(textWithAttrs instanceof fabric.Text);
|
||||
|
||||
var expectedObject = fabric.util.object.extend(REFERENCE_TEXT_OBJECT, {
|
||||
left: 12.5,
|
||||
/* left varies slightly due to node-canvas rendering so we're not testing for it */
|
||||
left: textWithAttrs.left,
|
||||
top: -59.95,
|
||||
width: 20,
|
||||
height: 159.9,
|
||||
|
|
|
|||
Loading…
Reference in a new issue