Better inset borders for phones

This commit is contained in:
Anuken
2022-11-09 13:56:53 -05:00
parent ef526a6d83
commit 1651dc520c
5 changed files with 24 additions and 1 deletions

View File

@@ -129,6 +129,13 @@ public class HudFragment{
cont.top().left();
if(mobile){
//for better inset visuals
cont.rect((x, y, w, h) -> {
if(Core.scene.marginTop > 0){
Tex.paneRight.draw(x, y, w, Core.scene.marginTop);
}
}).fillX().row();
cont.table(select -> {
select.name = "mobile buttons";
select.left();