mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
Bring back fallback scenario in Point#initialize().
This commit is contained in:
parent
db93544e8c
commit
6f2ff18fa1
1 changed files with 2 additions and 0 deletions
|
@ -149,6 +149,8 @@ var Point = this.Point = Base.extend(/** @lends Point# */{
|
|||
this.x = arg0.length;
|
||||
this.y = 0;
|
||||
this.setAngle(arg0.angle);
|
||||
} else {
|
||||
this.x = this.y = 0;
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue