Less floating menu buttons

This commit is contained in:
Anuken 2022-11-09 14:05:22 -05:00
parent 1651dc520c
commit 2e9026936e
2 changed files with 6 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 200 B

View File

@ -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();