diff options
author | xander <xander@isxander.dev> | 2022-09-10 19:51:42 +0100 |
---|---|---|
committer | xander <xander@isxander.dev> | 2022-09-10 19:51:42 +0100 |
commit | 20132e61aaa18849e46c7a3f4e28ec163585dc0c (patch) | |
tree | 54ac8d2a8eb1db414fbc1917f574b4e99f27f3d7 | |
parent | 5ae0da6bdb6f44948da80ae95c5ef1b02f477350 (diff) | |
download | YetAnotherConfigLib-20132e61aaa18849e46c7a3f4e28ec163585dc0c.tar.gz YetAnotherConfigLib-20132e61aaa18849e46c7a3f4e28ec163585dc0c.tar.bz2 YetAnotherConfigLib-20132e61aaa18849e46c7a3f4e28ec163585dc0c.zip |
trim search query + changelog (1.0.0)
-rw-r--r-- | build.gradle.kts | 6 | ||||
-rw-r--r-- | changelogs/1.0.0.md | 4 | ||||
-rw-r--r-- | src/main/java/dev/isxander/yacl/gui/OptionListWidget.java | 2 |
3 files changed, 8 insertions, 4 deletions
diff --git a/build.gradle.kts b/build.gradle.kts index f1c7627..311eeb7 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -16,7 +16,7 @@ plugins { val ciRun = System.getenv().containsKey("GITHUB_ACTIONS") group = "dev.isxander" -version = "0.1.2" +version = "1.0.0" if (ciRun) version = "$version-SNAPSHOT" @@ -114,7 +114,7 @@ if (modrinthId.isNotEmpty()) { token.set(findProperty("modrinth.token")?.toString()) projectId.set(modrinthId) versionNumber.set("${project.version}") - versionType.set("beta") + versionType.set("release") uploadFile.set(tasks["remapJar"]) gameVersions.set(listOf("1.19", "1.19.1", "1.19.2")) loaders.set(listOf("fabric", "quilt")) @@ -136,7 +136,7 @@ if (hasProperty("curseforge.token") && curseforgeId.isNotEmpty()) { }) id = curseforgeId - releaseType = "beta" + releaseType = "release" addGameVersion("1.19") addGameVersion("1.19.1") addGameVersion("1.19.2") diff --git a/changelogs/1.0.0.md b/changelogs/1.0.0.md new file mode 100644 index 0000000..5dccb9d --- /dev/null +++ b/changelogs/1.0.0.md @@ -0,0 +1,4 @@ +- Add search field +- Make collapse button more obvious +- Change "Finished" button text to "Done" +- Input field improvements diff --git a/src/main/java/dev/isxander/yacl/gui/OptionListWidget.java b/src/main/java/dev/isxander/yacl/gui/OptionListWidget.java index 3afadf3..ca6fc5d 100644 --- a/src/main/java/dev/isxander/yacl/gui/OptionListWidget.java +++ b/src/main/java/dev/isxander/yacl/gui/OptionListWidget.java @@ -230,7 +230,7 @@ public class OptionListWidget extends ElementListWidget<OptionListWidget.Entry> @Override public boolean isViewable() { - return viewableSupplier.get() && widget.matchesSearch(yaclScreen.searchFieldWidget.getText()); + return viewableSupplier.get() && widget.matchesSearch(yaclScreen.searchFieldWidget.getText().trim()); } @Override |