Skip to content

Commit

Permalink
allow using Point2D origin API without overriding
Browse files Browse the repository at this point in the history
  • Loading branch information
AlmasB committed Jun 8, 2021
1 parent 3550ac2 commit 38e4fa4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions fxgl-entity/src/main/java/com/almasb/fxgl/entity/Entity.java
Original file line number Diff line number Diff line change
Expand Up @@ -1044,12 +1044,10 @@ public DoubleProperty opacityProperty() {
return view.opacityProperty();
}

@Deprecated
public void setScaleOrigin(Point2D pivotPoint) {
transform.setScaleOrigin(pivotPoint);
}

@Deprecated
public void setRotationOrigin(Point2D pivotPoint) {
transform.setRotationOrigin(pivotPoint);
}
Expand Down

0 comments on commit 38e4fa4

Please sign in to comment.