diff --git a/minchat-client/src/main/kotlin/io/minchat/client/plugin/impl/AutoupdaterPlugin.kt b/minchat-client/src/main/kotlin/io/minchat/client/plugin/impl/AutoupdaterPlugin.kt index 4aee0c6..4a729ee 100644 --- a/minchat-client/src/main/kotlin/io/minchat/client/plugin/impl/AutoupdaterPlugin.kt +++ b/minchat-client/src/main/kotlin/io/minchat/client/plugin/impl/AutoupdaterPlugin.kt @@ -87,6 +87,7 @@ class AutoupdaterPlugin : MinchatPlugin("autoupdater") { Log.info { "Autoupdater: downloading the changelog..." } val changelog = runCatching { Minchat.githubClient.getChangelog() } + .onFailure { Log.error { "Autoupdater: failed to get changelog: $it" } } .getOrNull() ?.filter { it.version > MINCHAT_VERSION } @@ -229,11 +230,11 @@ class AutoupdaterPlugin : MinchatPlugin("autoupdater") { hider(hideVertical = { !showChangelog }, hideHorizontal = { !showChangelog }) { margin(Style.layoutMargin) - limitedScrollPane(limitW = false, limitH = true) { + limitedScrollPane(limitW = false, limitH = false) { addChangelog() - }.grow() + }.grow().maxWidth(800f) }.grow() - }.maxHeight(500f) + }.maxHeight(500f).growX() }.fillX().pad(Style.layoutPad).row() addTable(Style.surfaceBackground) { diff --git a/minchat-common/src/main/kotlin/io/minchat/common/BuildVersion.kt b/minchat-common/src/main/kotlin/io/minchat/common/BuildVersion.kt index a3eb698..e9eb354 100644 --- a/minchat-common/src/main/kotlin/io/minchat/common/BuildVersion.kt +++ b/minchat-common/src/main/kotlin/io/minchat/common/BuildVersion.kt @@ -12,7 +12,7 @@ import kotlinx.serialization.Serializable val MINCHAT_VERSION = BuildVersion( major = 0, minor = 7, - patch = 4 + patch = 5 ) /** diff --git a/mod.hjson b/mod.hjson index bf6ada9..33adcb0 100644 --- a/mod.hjson +++ b/mod.hjson @@ -14,7 +14,7 @@ There are various tutorials that will guide you through the user interface of th displayName: "MinChat Official" author: "Mnemotechnician" minGameVersion: "137" -version: "v0.7.4-beta" +version: "v0.7.5-beta" main: "io.minchat.client.MinchatMod" hidden: true diff --git a/remote/changelog b/remote/changelog index e6357df..1305a3f 100644 --- a/remote/changelog +++ b/remote/changelog @@ -1,3 +1,6 @@ +#VERSION 0.7.5 +The autoupdater dialog has finally been fixed + #VERSION 0.7.4 Hotfix for 0.7.3