Skip to content

Commit 8bd0aff

Browse files
committed
Fixed setFlipY.
1 parent 5725e43 commit 8bd0aff

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • v3/src/gameobjects/components

v3/src/gameobjects/components/Flip.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ var Flip = {
1010
return this;
1111
},
1212

13-
toggleFlipY: function (value)
13+
toggleFlipY: function ()
1414
{
1515
this.flipY = !this.flipY;
1616

@@ -26,7 +26,7 @@ var Flip = {
2626

2727
setFlipY: function (value)
2828
{
29-
this.flipX = value;
29+
this.flipY = value;
3030

3131
return this;
3232
},

0 commit comments

Comments
 (0)