This commit is contained in:
Anuken 2025-10-13 20:29:52 +09:00
parent a35f7605f7
commit 0b4c4c4049

View file

@ -601,6 +601,10 @@ public class UI implements ApplicationListener, Loadable{
t.update(() -> { t.update(() -> {
t.setPosition(Core.graphics.getWidth()/2f, Core.graphics.getHeight()/2f, Align.center); t.setPosition(Core.graphics.getWidth()/2f, Core.graphics.getHeight()/2f, Align.center);
t.toFront(); t.toFront();
if(state.isMenu() || !ui.hudfrag.shown){
t.remove();
}
}); });
t.actions(Actions.fadeOut(duration, Interp.pow4In), Actions.remove()); t.actions(Actions.fadeOut(duration, Interp.pow4In), Actions.remove());
t.pack(); t.pack();