mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-04-26 00:14:42 +00:00
Merge pull request #637 from Kienz/patch-1
Add `complexity` method to fabric.Text (returns 1)
This commit is contained in:
commit
4aa656c549
1 changed files with 8 additions and 0 deletions
|
|
@ -900,6 +900,14 @@
|
|||
this._initDimensions();
|
||||
this.setCoords();
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
* Returns complexity of an instance
|
||||
* @return {Number} complexity
|
||||
*/
|
||||
complexity: function() {
|
||||
return 1;
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue