mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-05-03 11:34:41 +00:00
Minor style change
This commit is contained in:
parent
39fc445c07
commit
9f934d4dad
1 changed files with 4 additions and 4 deletions
|
|
@ -724,13 +724,13 @@
|
|||
};
|
||||
|
||||
var orig = {
|
||||
angle: this.get('angle'),
|
||||
flipX: this.get('flipX'),
|
||||
flipY: this.get('flipY')
|
||||
angle: this.getAngle(),
|
||||
flipX: this.getFlipX(),
|
||||
flipY: this.getFlipY()
|
||||
};
|
||||
|
||||
// normalize angle
|
||||
this.set('angle', 0).set('flipX', false).set('flipY', false);
|
||||
this.set({ angle: 0, flipX: false, flipY: false });
|
||||
this.toDataURL(function(dataURL) {
|
||||
i.src = dataURL;
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue