Better cliff sprites
This commit is contained in:
@@ -557,6 +557,12 @@ public class MapEditorDialog extends Dialog implements Disposable{
|
||||
t.add(slider).width(size * 3f - 20).padTop(4f);
|
||||
}).padTop(5).growX().top();
|
||||
|
||||
mid.row();
|
||||
|
||||
mid.table(t -> {
|
||||
t.button("@editor.center", () -> view.center()).growX();
|
||||
}).pad(-5).style(Styles.squaret).growX().top();
|
||||
|
||||
}).margin(0).left().growY();
|
||||
|
||||
|
||||
|
||||
@@ -171,6 +171,10 @@ public class MapView extends Element implements GestureListener{
|
||||
this.grid = grid;
|
||||
}
|
||||
|
||||
public void center(){
|
||||
offsetx = offsety = 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void act(float delta){
|
||||
super.act(delta);
|
||||
|
||||
Reference in New Issue
Block a user