mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-12-06 02:40:23 -08:00
Merge branch 'master' of https://github.com/Anuken/Mindustry
This commit is contained in:
commit
3e854edf4b
1 changed files with 4 additions and 6 deletions
|
|
@ -79,6 +79,10 @@ public class MenuFragment{
|
|||
if(Core.scene.marginRight > 0){
|
||||
paneLeft.draw(x + w - Core.scene.marginRight, y, Core.scene.marginRight, h);
|
||||
}
|
||||
|
||||
if(Core.scene.marginBottom > 0){
|
||||
Tex.paneTop.draw(Core.scene.marginLeft, 0, Core.graphics.getWidth() - Core.scene.marginRight, Core.scene.marginBottom);
|
||||
}
|
||||
});
|
||||
|
||||
parent.fill(c -> c.bottom().left().button("", new TextButtonStyle(){{
|
||||
|
|
@ -86,12 +90,6 @@ 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