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 /src/client/java/dev/isxander | |
parent | f4a890749e07123b5b7db8200b53c943a93ede01 (diff) | |
download | YetAnotherConfigLib-bf5eb877eca9417bf0b88a021ddbdf203a1dc9b3.tar.gz YetAnotherConfigLib-bf5eb877eca9417bf0b88a021ddbdf203a1dc9b3.tar.bz2 YetAnotherConfigLib-bf5eb877eca9417bf0b88a021ddbdf203a1dc9b3.zip |
22w04a
Diffstat (limited to 'src/client/java/dev/isxander')
-rw-r--r-- | src/client/java/dev/isxander/yacl/gui/controllers/LabelController.java | 8 |
1 files changed, 4 insertions, 4 deletions
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); } } |