Skip to content

Commit

Permalink
Fixed right-align position adjustment
Browse files Browse the repository at this point in the history
  • Loading branch information
lukflug committed Dec 19, 2020
1 parent c1a035d commit 5fe3084
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public Point getPosition (Interface inter) {
}
if (list.sortUp()) {
if (list.sortRight()) return new Point(position.x-width,position.y-height);
else return new Point(position.x-width,position.y-height);
else return new Point(position.x,position.y-height);
} else {
if (list.sortRight()) return new Point(new Point(position.x-width,position.y));
else return new Point(position);
Expand Down

0 comments on commit 5fe3084

Please sign in to comment.