Skip to content

Commit

Permalink
Make ToastManager.updateToastsPositions protected (#374)
Browse files Browse the repository at this point in the history
  • Loading branch information
czyzby authored Dec 9, 2022
1 parent 20e14e3 commit 1625676
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/main/java/com/kotcrab/vis/ui/util/ToastManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public void toFront () {
root.toFront();
}

private void updateToastsPositions () {
protected void updateToastsPositions () {
boolean bottom = (alignment & Align.bottom) != 0;
boolean left = (alignment & Align.left) != 0;
float y = bottom ? screenPaddingY : root.getHeight() - screenPaddingY;
Expand Down

0 comments on commit 1625676

Please # to comment.