mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-04-22 06:54:42 +00:00
parent
e8c9c7b0f1
commit
e73fe4625e
1 changed files with 2 additions and 2 deletions
|
|
@ -332,7 +332,7 @@
|
|||
* @chainable
|
||||
*/
|
||||
drawBorders: function(ctx) {
|
||||
if (!this.hasBorders) return;
|
||||
if (!this.hasBorders) return this;
|
||||
|
||||
var padding = this.padding,
|
||||
padding2 = padding * 2,
|
||||
|
|
@ -389,7 +389,7 @@
|
|||
* @chainable
|
||||
*/
|
||||
drawControls: function(ctx) {
|
||||
if (!this.hasControls) return;
|
||||
if (!this.hasControls) return this;
|
||||
|
||||
var size = this.cornerSize,
|
||||
size2 = size / 2,
|
||||
|
|
|
|||
Loading…
Reference in a new issue