mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-03-09 20:29:06 +07:00
Fixed database dialog fade
This commit is contained in:
parent
0c540f9527
commit
f00b79906b
@ -2022,7 +2022,7 @@ split.container = Similar to the container, units can also be transported using
|
||||
item.copper.description = Used in all types of construction and ammunition.
|
||||
item.copper.details = Copper. Abnormally abundant metal on Serpulo. Structurally weak unless reinforced.
|
||||
item.lead.description = Used in liquid transportation and electrical structures.
|
||||
item.lead.details = Dense. Inert. Extensively used in batteries.\nNote: Likely toxic to biological life forms. Not that there are many left here.
|
||||
item.lead.details = Dense. Inert. Extensively used in batteries.\nNote: Likely toxic to biological life forms; not that there are many left here.
|
||||
item.metaglass.description = Used in liquid distribution/storage structures.
|
||||
item.graphite.description = Used in electrical components and turret ammunition.
|
||||
item.sand.description = Used for production of other refined materials.
|
||||
|
@ -1,6 +1,7 @@
|
||||
package mindustry.ui.dialogs;
|
||||
|
||||
import arc.*;
|
||||
import arc.scene.actions.*;
|
||||
import arc.scene.ui.*;
|
||||
import arc.scene.ui.layout.*;
|
||||
import arc.struct.*;
|
||||
@ -98,7 +99,11 @@ public class ContentInfoDialog extends BaseDialog{
|
||||
ScrollPane pane = new ScrollPane(table);
|
||||
cont.add(pane);
|
||||
|
||||
show();
|
||||
if(isShown()){
|
||||
show(scene, Actions.fadeIn(0f));
|
||||
}else{
|
||||
show();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user