mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-25 22:17:59 +07:00
Less floating menu buttons
This commit is contained in:
parent
1651dc520c
commit
2e9026936e
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;
|
fontColor = Color.white;
|
||||||
up = infoBanner;
|
up = infoBanner;
|
||||||
}}, ui.about::show).size(84, 45).name("info"));
|
}}, 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()){
|
}else if(becontrol.active()){
|
||||||
parent.fill(c -> c.bottom().right().button("@be.check", Icon.refresh, () -> {
|
parent.fill(c -> c.bottom().right().button("@be.check", Icon.refresh, () -> {
|
||||||
ui.loadfrag.show();
|
ui.loadfrag.show();
|
||||||
|
Loading…
Reference in New Issue
Block a user