Minor UI tweaks
This commit is contained in:
@@ -545,8 +545,8 @@ settings.graphics = Graphics
|
||||
settings.cleardata = Clear Game Data...
|
||||
settings.clear.confirm = Are you sure you want to clear this data?\nWhat is done cannot be undone!
|
||||
settings.clearall.confirm = [scarlet]WARNING![]\nThis will clear all data, including saves, maps, unlocks and keybinds.\nOnce you press 'ok' the game will wipe all data and automatically exit.
|
||||
settings.clearsaves.confirm = Are you sure you want to clear all saves?
|
||||
settings.clearsaves = Clear all saves
|
||||
settings.clearsaves.confirm = Are you sure you want to clear all your saves?
|
||||
settings.clearsaves = Clear Saves
|
||||
paused = [accent]< Paused >
|
||||
clear = Clear
|
||||
banned = [scarlet]Banned
|
||||
|
||||
@@ -104,7 +104,7 @@ public class SettingsMenuDialog extends SettingsDialog{
|
||||
}
|
||||
|
||||
Core.app.exit();
|
||||
}));
|
||||
})).marginLeft(4);
|
||||
|
||||
t.row();
|
||||
|
||||
@@ -112,7 +112,7 @@ public class SettingsMenuDialog extends SettingsDialog{
|
||||
ui.showConfirm("$confirm", "$settings.clearsaves.confirm", () -> {
|
||||
control.saves.deleteAll();
|
||||
});
|
||||
});
|
||||
}).marginLeft(4);
|
||||
|
||||
t.row();
|
||||
|
||||
@@ -136,7 +136,7 @@ public class SettingsMenuDialog extends SettingsDialog{
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
}).marginLeft(4);
|
||||
|
||||
t.row();
|
||||
|
||||
@@ -154,11 +154,11 @@ public class SettingsMenuDialog extends SettingsDialog{
|
||||
ui.showErrorMessage("$data.invalid");
|
||||
}
|
||||
}
|
||||
})));
|
||||
}))).marginLeft(4);
|
||||
|
||||
if(!mobile){
|
||||
t.row();
|
||||
t.button("$data.openfolder", Icon.folder, style, () -> Core.app.openFolder(Core.settings.getDataDirectory().absolutePath()));
|
||||
t.button("$data.openfolder", Icon.folder, style, () -> Core.app.openFolder(Core.settings.getDataDirectory().absolutePath())).marginLeft(4);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user