Minor save fixes

This commit is contained in:
Anuken
2019-08-30 23:39:29 -04:00
parent 92cfa2b033
commit e0c1f2a31a
2 changed files with 2 additions and 1 deletions

View File

@@ -25,7 +25,7 @@ public class Saves{
private Array<SaveSlot> saves = new Array<>(); private Array<SaveSlot> saves = new Array<>();
private IntMap<SaveSlot> saveMap = new IntMap<>(); private IntMap<SaveSlot> saveMap = new IntMap<>();
private SaveSlot current; private SaveSlot current;
private AsyncExecutor previewExecutor = new AsyncExecutor(2); private AsyncExecutor previewExecutor = new AsyncExecutor(1);
private boolean saving; private boolean saving;
private float time; private float time;

View File

@@ -128,6 +128,7 @@ public class LoadDialog extends FloatingDialog{
if(draw.getRegion() == def && text != null){ if(draw.getRegion() == def && text != null){
draw.setRegion(new TextureRegion(text)); draw.setRegion(new TextureRegion(text));
} }
i.setScaling(Scaling.fit);
}).left().size(160f).padRight(6); }).left().size(160f).padRight(6);
button.table(meta -> { button.table(meta -> {