Skip to content

Commit

Permalink
Send event when origin is changed
Browse files Browse the repository at this point in the history
  • Loading branch information
MobiDevelop committed Oct 7, 2013
1 parent cf36939 commit 7d097d1
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,18 @@ public void setHeight(float height) {
this.dispatchEvent(new MapObjectChangeEvent(this));
}

@Override
public void setOriginX(float originX) {
super.setOriginX(originX);
this.dispatchEvent(new MapObjectChangeEvent(this));
}

@Override
public void setOriginY(float originY) {
super.setOriginY(originY);
this.dispatchEvent(new MapObjectChangeEvent(this));
}

@Override
public void setRotation(float rotation) {
super.setRotation(rotation);
Expand Down

0 comments on commit 7d097d1

Please sign in to comment.