|
|
@ -628,15 +628,16 @@ Node.prototype._resizeCircularImage = function (ctx) { |
|
|
|
this.growthIndicator = this.options.radius- 0.5*diameter; |
|
|
|
this._swapToImageResizeWhenImageLoaded = true; |
|
|
|
} |
|
|
|
} else { |
|
|
|
if (this._swapToImageResizeWhenImageLoaded){ |
|
|
|
} |
|
|
|
else { |
|
|
|
if (this._swapToImageResizeWhenImageLoaded) { |
|
|
|
this.width = 0; |
|
|
|
this.height = 0; |
|
|
|
delete this._swapToImageResizeWhenImageLoaded |
|
|
|
delete this._swapToImageResizeWhenImageLoaded; |
|
|
|
} |
|
|
|
|
|
|
|
this._resizeImage(ctx); |
|
|
|
} |
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
Node.prototype._drawCircularImage = function (ctx) { |
|
|
|