diff options
author | isXander <xandersmith2008@gmail.com> | 2023-01-29 22:00:13 +0000 |
---|---|---|
committer | isXander <xandersmith2008@gmail.com> | 2023-01-29 22:00:13 +0000 |
commit | bf5eb877eca9417bf0b88a021ddbdf203a1dc9b3 (patch) | |
tree | ef1db111bd949539b9b06dc2983261b56b6d6f17 | |
parent | f4a890749e07123b5b7db8200b53c943a93ede01 (diff) | |
download | YetAnotherConfigLib-bf5eb877eca9417bf0b88a021ddbdf203a1dc9b3.tar.gz YetAnotherConfigLib-bf5eb877eca9417bf0b88a021ddbdf203a1dc9b3.tar.bz2 YetAnotherConfigLib-bf5eb877eca9417bf0b88a021ddbdf203a1dc9b3.zip |
22w04a
-rw-r--r-- | build.gradle.kts | 6 | ||||
-rw-r--r-- | gradle.properties | 4 | ||||
-rw-r--r-- | src/client/java/dev/isxander/yacl/gui/controllers/LabelController.java | 8 |
3 files changed, 9 insertions, 9 deletions
diff --git a/build.gradle.kts b/build.gradle.kts index 616e452..8517bd4 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,10 +1,10 @@ plugins { java - id("fabric-loom") version "[1.0.16, 1.1.0)" // 1.0.+ but patch must be 16 or higher + id("fabric-loom") version "1.1.+" // 1.0.+ but patch must be 16 or higher id("io.github.juuxel.loom-quiltflower") version "1.8.+" - id("com.modrinth.minotaur") version "2.5.+" + id("com.modrinth.minotaur") version "2.6.+" id("me.hypherionmc.cursegradle") version "2.+" id("com.github.breadmoirai.github-release") version "2.+" `maven-publish` @@ -75,7 +75,7 @@ dependencies { }) modImplementation("net.fabricmc:fabric-loader:$fabricLoaderVersion") - "modClientImplementation"(fabricApi.module("fabric-resource-loader-v0", "0.72.1+1.19.4")) + "modClientImplementation"(fabricApi.module("fabric-resource-loader-v0", "0.73.1+1.19.4")) "testmodImplementation"(sourceSets.main.get().output) "testmodImplementation"(sourceSets["client"].output) diff --git a/gradle.properties b/gradle.properties index 439a116..358c97d 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,8 +1,8 @@ org.gradle.jvmargs=-Xmx3G -minecraftVersion=23w03a +minecraftVersion=23w04a fabricLoaderVersion=0.14.13 -qmBuild=3 +qmBuild=5 modId=yet-another-config-lib modName=YetAnotherConfigLib diff --git a/src/client/java/dev/isxander/yacl/gui/controllers/LabelController.java b/src/client/java/dev/isxander/yacl/gui/controllers/LabelController.java index dd0048d..1dfae0b 100644 --- a/src/client/java/dev/isxander/yacl/gui/controllers/LabelController.java +++ b/src/client/java/dev/isxander/yacl/gui/controllers/LabelController.java @@ -79,10 +79,10 @@ public class LabelController implements Controller<Component> { } if (isFocused()) { - GuiComponent.fill(matrices, getDimension().x() - 2, getDimension().y() - 2, getDimension().xLimit() + 2, getDimension().y(), -1); - GuiComponent.fill(matrices, getDimension().x() - 2, getDimension().y() - 2, getDimension().x(), getDimension().yLimit() + 2, -1); - GuiComponent.fill(matrices, getDimension().x() - 2, getDimension().yLimit(), getDimension().xLimit() + 2, getDimension().yLimit() + 2, -1); - GuiComponent.fill(matrices, getDimension().xLimit(), getDimension().y() - 2, getDimension().xLimit() + 2, getDimension().yLimit() + 2, -1); + GuiComponent.fill(matrices, getDimension().x() - 1, getDimension().y() - 1, getDimension().xLimit() + 1, getDimension().y(), -1); + GuiComponent.fill(matrices, getDimension().x() - 1, getDimension().y() - 1, getDimension().x(), getDimension().yLimit() + 1, -1); + GuiComponent.fill(matrices, getDimension().x() - 1, getDimension().yLimit(), getDimension().xLimit() + 1, getDimension().yLimit() + 1, -1); + GuiComponent.fill(matrices, getDimension().xLimit(), getDimension().y() - 1, getDimension().xLimit() + 1, getDimension().yLimit() + 1, -1); } } |