mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-05-28 14:58:16 +00:00
Merge pull request #2274 from asturur/clean-origins
forgot some cleaning
This commit is contained in:
commit
74d05ed8f3
1 changed files with 0 additions and 3 deletions
|
|
@ -150,9 +150,6 @@
|
|||
*/
|
||||
adjustPosition: function(to) {
|
||||
var angle = degreesToRadians(this.angle),
|
||||
hypotHalf = this.getWidth() / 2,
|
||||
xHalf = Math.cos(angle) * hypotHalf,
|
||||
yHalf = Math.sin(angle) * hypotHalf,
|
||||
hypotFull = this.getWidth(),
|
||||
xFull = Math.cos(angle) * hypotFull,
|
||||
yFull = Math.sin(angle) * hypotFull;
|
||||
|
|
|
|||
Loading…
Reference in a new issue