mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-04-16 20:30:58 +00:00
Update parser.js
This commit is contained in:
parent
dfbd1887bf
commit
5ca64ad636
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@
|
|||
else if (attr === 'originX' /* text-anchor */) {
|
||||
value = value === 'start' ? 'left' : value === 'end' ? 'right' : 'center';
|
||||
} else {
|
||||
// TODO: need to normalize em, %, pt, etc. to px (!)
|
||||
// TODO: need to normalize em, %, etc. to px (!)
|
||||
var parsed = isArray ? value.map(parseUnit) : parseUnit(value);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue