mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-25 05:51:47 -08:00
Preparation for moving planet dialog
This commit is contained in:
parent
73b25c103c
commit
e1dfb68cfd
2 changed files with 10 additions and 4 deletions
|
|
@ -87,11 +87,17 @@ public class PlanetDialog extends BaseDialog{
|
|||
getCell(buttons).padBottom(-4);
|
||||
buttons.background(Styles.black).defaults().growX().height(64f).pad(0);
|
||||
|
||||
keyDown(key -> {
|
||||
if(key == KeyCode.escape || key == KeyCode.back){
|
||||
Core.app.post(this::hide);
|
||||
}
|
||||
});
|
||||
|
||||
//TODO
|
||||
buttons.button("$back", Icon.left, style, this::hide).margin(bmargin);
|
||||
buttons.button("Research", Icon.tree, style, () -> ui.tech.show()).margin(bmargin);
|
||||
//buttons.button("$back", Icon.left, style, this::hide).margin(bmargin);
|
||||
//buttons.button("Research", Icon.tree, style, () -> ui.tech.show()).margin(bmargin);
|
||||
//buttons.button("Database", Icon.book, style, () -> ui.database.show()).margin(bmargin);
|
||||
buttons.button("Resources", Icon.file, style, resources::show).margin(bmargin);
|
||||
//buttons.button("Resources", Icon.file, style, resources::show).margin(bmargin);
|
||||
|
||||
cam.fov = 60f;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
org.gradle.daemon=true
|
||||
org.gradle.jvmargs=-Xms256m -Xmx1024m
|
||||
archash=316daf68d366d591ea1ae3caa30b1a5c0d838098
|
||||
archash=fc5fd01cd2bfc1a95171f212e601ac030ee3e58f
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue