Closes Anuken/Mindustry-Suggestions/issues/4353
This commit is contained in:
@@ -8,6 +8,7 @@ import arc.util.*;
|
||||
import mindustry.ctype.*;
|
||||
import mindustry.gen.*;
|
||||
import mindustry.graphics.*;
|
||||
import mindustry.input.*;
|
||||
import mindustry.world.meta.*;
|
||||
|
||||
import static arc.Core.*;
|
||||
@@ -19,6 +20,12 @@ public class ContentInfoDialog extends BaseDialog{
|
||||
super("@info.title");
|
||||
|
||||
addCloseButton();
|
||||
|
||||
keyDown(key -> {
|
||||
if(key == keybinds.get(Binding.block_info).key){
|
||||
Core.app.post(this::hide);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
public void show(UnlockableContent content){
|
||||
|
||||
Reference in New Issue
Block a user