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