mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-11 03:08:38 +07:00
Closes Anuken/Mindustry-Suggestions/issues/4353
This commit is contained in:
parent
821569aafb
commit
cd7088d241
@ -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){
|
||||
|
Loading…
Reference in New Issue
Block a user