Fixed database dialog fade

This commit is contained in:
Anuken 2024-09-20 14:09:39 -04:00
parent 0c540f9527
commit f00b79906b
2 changed files with 7 additions and 2 deletions

View File

@ -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.

View File

@ -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();
}
}
}