diff options
-rw-r--r-- | src/main/java/io/github/cottonmc/cotton/gui/widget/WLabeledSlider.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/io/github/cottonmc/cotton/gui/widget/WLabeledSlider.java b/src/main/java/io/github/cottonmc/cotton/gui/widget/WLabeledSlider.java index e7f7e3a..0c1a510 100644 --- a/src/main/java/io/github/cottonmc/cotton/gui/widget/WLabeledSlider.java +++ b/src/main/java/io/github/cottonmc/cotton/gui/widget/WLabeledSlider.java @@ -167,7 +167,7 @@ public class WLabeledSlider extends WAbstractSlider { int rotMouseY = axis == Axis.HORIZONTAL ? mouseY : mouseX; RenderSystem.pushMatrix(); - matrices.translate(x, y, 0); + RenderSystem.translatef(x, y, 0); if (axis == Axis.VERTICAL) { RenderSystem.translatef(0, height, 0); RenderSystem.rotatef(270, 0, 0, 1); |