From e508e19024711e0e985aedb6d549650d9ebceaae Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Tue, 29 Nov 2022 18:45:40 +0600 Subject: Fix: And also subtract with the size of the icon, so that the table completely disappears --- core/src/com/ilotterytea/maxoning/screens/MenuScreen.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/src/com/ilotterytea/maxoning/screens') diff --git a/core/src/com/ilotterytea/maxoning/screens/MenuScreen.java b/core/src/com/ilotterytea/maxoning/screens/MenuScreen.java index 9855066..fbf9a21 100644 --- a/core/src/com/ilotterytea/maxoning/screens/MenuScreen.java +++ b/core/src/com/ilotterytea/maxoning/screens/MenuScreen.java @@ -217,7 +217,7 @@ public class MenuScreen implements Screen { private void showOptions() { startBtn.addAction(Actions.moveTo(startBtn.getX(), -startBtn.getY() - startBtn.getHeight(), 1f, Interpolation.exp10Out)); savLabel.addAction(Actions.moveTo(savLabel.getX(), -savLabel.getY() - savLabel.getHeight(), 1f, Interpolation.exp10Out)); - menuTable.addAction(Actions.moveTo(menuTable.getX(), -menuTable.getY() - menuTable.getHeight(), 1f, Interpolation.exp10Out)); + menuTable.addAction(Actions.moveTo(menuTable.getX(), -menuTable.getY() - menuTable.getHeight() - 48f, 1f, Interpolation.exp10Out)); brandLogo.clearActions(); brandLogo.addAction( -- cgit v1.2.3