diff options
-rw-r--r-- | src/client/java/dev/isxander/yacl/gui/controllers/slider/SliderControllerElement.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/java/dev/isxander/yacl/gui/controllers/slider/SliderControllerElement.java b/src/client/java/dev/isxander/yacl/gui/controllers/slider/SliderControllerElement.java index 2d6f1ea..d00f3d7 100644 --- a/src/client/java/dev/isxander/yacl/gui/controllers/slider/SliderControllerElement.java +++ b/src/client/java/dev/isxander/yacl/gui/controllers/slider/SliderControllerElement.java @@ -158,7 +158,7 @@ public class SliderControllerElement extends ControllerWidget<ISliderController< @Override public void postRender(PoseStack matrices, int mouseX, int mouseY, float delta) { - if (super.isMouseOver(mouseX, mouseY)) + if (super.isMouseOver(mouseX, mouseY) || focused) super.postRender(matrices, mouseX, mouseY, delta); } } |