Stacked map editor brush slider

This commit is contained in:
Anuken
2021-07-20 19:56:55 -04:00
parent 14e4203ee7
commit d506685bba
4 changed files with 12 additions and 9 deletions

View File

@@ -560,10 +560,12 @@ public class MapEditorDialog extends Dialog implements Disposable{
}
}
t.top();
t.add("@editor.brush");
var label = new Label("@editor.brush");
label.setAlignment(Align.center);
label.touchable = Touchable.disabled;
t.top().stack(slider, label).width(size * 3f - 20).padTop(4f);
t.row();
t.add(slider).width(size * 3f - 20).padTop(4f);
}).padTop(5).growX().top();
mid.row();