mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-04-11 18:00:59 +00:00
Fix lines test
This commit is contained in:
parent
673959b4e7
commit
4df8ef3698
1 changed files with 1 additions and 0 deletions
|
|
@ -308,6 +308,7 @@
|
|||
* @return {fabric.Line} instance of fabric.Line
|
||||
*/
|
||||
fabric.Line.fromElement = function(element, options) {
|
||||
options = options || { };
|
||||
var parsedAttributes = fabric.parseAttributes(element, fabric.Line.ATTRIBUTE_NAMES),
|
||||
points = [
|
||||
parsedAttributes.x1 || 0,
|
||||
|
|
|
|||
Loading…
Reference in a new issue