mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-12-06 02:40:23 -08:00
Fixed #11281
This commit is contained in:
parent
a35f7605f7
commit
0b4c4c4049
1 changed files with 4 additions and 0 deletions
|
|
@ -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();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue