This commit is contained in:
parent
c0303bf44f
commit
ff407b1c74
@ -1,5 +1,8 @@
|
||||
# Changelog
|
||||
|
||||
**1.1.3**
|
||||
* Swap Buttons In GUI
|
||||
|
||||
**1.1.2**
|
||||
* Cache Reader Objects
|
||||
* Improve Logging
|
||||
|
@ -9,7 +9,7 @@ org.gradle.jvmargs = -Xmx1G
|
||||
fabric_loader_version = 0.8.8+build.202
|
||||
|
||||
# Mod Properties
|
||||
mod_version = 1.1.2
|
||||
mod_version = 1.1.3
|
||||
maven_group = com.thebrokenrail
|
||||
|
||||
# Dependencies
|
||||
|
@ -35,11 +35,11 @@ public class ModUpdateScreen extends Screen {
|
||||
int paddingX = 5;
|
||||
int downloadX = width / 2 - buttonWidth - paddingX;
|
||||
int doneX = width / 2 + paddingX;
|
||||
addButton(new ButtonWidget(downloadX, height - 30, buttonWidth, 20, ScreenTexts.DONE, buttonWidget -> {
|
||||
addButton(new ButtonWidget(doneX, height - 30, buttonWidth, 20, ScreenTexts.DONE, buttonWidget -> {
|
||||
assert client != null;
|
||||
client.openScreen(parent);
|
||||
}));
|
||||
download = addButton(new ButtonWidget(doneX, height - 30, buttonWidth, 20, new TranslatableText("gui." + ModUpdater.NAMESPACE + ".download"), buttonWidget -> {
|
||||
download = addButton(new ButtonWidget(downloadX, height - 30, buttonWidth, 20, new TranslatableText("gui." + ModUpdater.NAMESPACE + ".download"), buttonWidget -> {
|
||||
if (list.getSelected() != null) {
|
||||
Util.getOperatingSystem().open(list.getSelected().update.downloadURL);
|
||||
}
|
||||
|
Reference in New Issue
Block a user