resize doesn't switch back to main page now

This commit is contained in:
2018-09-10 01:29:35 -05:00
parent 75387661d2
commit d07ecc32f8
2 changed files with 17 additions and 8 deletions

View File

@@ -20,6 +20,7 @@ public class Page extends Group implements Disposable {
setSize(Gdx.graphics.getWidth(), Gdx.graphics.getHeight());
setTouchable(Touchable.childrenOnly);
setToBasePosition();
setName(getClass().getSimpleName());
}
public Page(int baseXPos, int baseYPos, String titleText, Skin skin) {