Fixed database dialog fade
This commit is contained in:
@@ -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.description = Used in all types of construction and ammunition.
|
||||||
item.copper.details = Copper. Abnormally abundant metal on Serpulo. Structurally weak unless reinforced.
|
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.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.metaglass.description = Used in liquid distribution/storage structures.
|
||||||
item.graphite.description = Used in electrical components and turret ammunition.
|
item.graphite.description = Used in electrical components and turret ammunition.
|
||||||
item.sand.description = Used for production of other refined materials.
|
item.sand.description = Used for production of other refined materials.
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
package mindustry.ui.dialogs;
|
package mindustry.ui.dialogs;
|
||||||
|
|
||||||
import arc.*;
|
import arc.*;
|
||||||
|
import arc.scene.actions.*;
|
||||||
import arc.scene.ui.*;
|
import arc.scene.ui.*;
|
||||||
import arc.scene.ui.layout.*;
|
import arc.scene.ui.layout.*;
|
||||||
import arc.struct.*;
|
import arc.struct.*;
|
||||||
@@ -98,7 +99,11 @@ public class ContentInfoDialog extends BaseDialog{
|
|||||||
ScrollPane pane = new ScrollPane(table);
|
ScrollPane pane = new ScrollPane(table);
|
||||||
cont.add(pane);
|
cont.add(pane);
|
||||||
|
|
||||||
show();
|
if(isShown()){
|
||||||
|
show(scene, Actions.fadeIn(0f));
|
||||||
|
}else{
|
||||||
|
show();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user