mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-04-27 07:50:54 -07:00
Less floating menu buttons
This commit is contained in:
parent
1651dc520c
commit
2e9026936e
2 changed files with 6 additions and 0 deletions
BIN
core/assets-raw/sprites/ui/pane-top.9.png
Normal file
BIN
core/assets-raw/sprites/ui/pane-top.9.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 200 B |
|
|
@ -70,6 +70,12 @@ public class MenuFragment{
|
|||
fontColor = Color.white;
|
||||
up = infoBanner;
|
||||
}}, ui.about::show).size(84, 45).name("info"));
|
||||
|
||||
parent.fill((x, y, w, h) -> {
|
||||
if(Core.scene.marginBottom > 0){
|
||||
Tex.paneTop.draw(0, 0, Core.graphics.getWidth(), Core.scene.marginBottom);
|
||||
}
|
||||
});
|
||||
}else if(becontrol.active()){
|
||||
parent.fill(c -> c.bottom().right().button("@be.check", Icon.refresh, () -> {
|
||||
ui.loadfrag.show();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue