mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-19 14:10:14 -05:00
Replace accidental beans access with direct access of internal property.
This commit is contained in:
parent
88332d763d
commit
db1a25933a
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ var GradientColor = this.GradientColor = Color.extend({
|
|||
var gradient;
|
||||
if (this.gradient.type === 'linear') {
|
||||
gradient = ctx.createLinearGradient(this._origin.x, this._origin.y,
|
||||
this.destination.x, this.destination.y);
|
||||
this._destination.x, this._destination.y);
|
||||
} else {
|
||||
var origin = this._hilite || this._origin;
|
||||
gradient = ctx.createRadialGradient(origin.x, origin.y,
|
||||
|
|
Loading…
Reference in a new issue