From a79f21c5b7ba20469797f3f9e424f88d77f0927d Mon Sep 17 00:00:00 2001 From: isXander Date: Thu, 17 Nov 2022 17:30:03 +0000 Subject: make tickbox & boolean controller element constructors public --- src/main/java/dev/isxander/yacl/gui/controllers/BooleanController.java | 2 +- src/main/java/dev/isxander/yacl/gui/controllers/TickBoxController.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main') diff --git a/src/main/java/dev/isxander/yacl/gui/controllers/BooleanController.java b/src/main/java/dev/isxander/yacl/gui/controllers/BooleanController.java index b7a77dd..7037ff5 100644 --- a/src/main/java/dev/isxander/yacl/gui/controllers/BooleanController.java +++ b/src/main/java/dev/isxander/yacl/gui/controllers/BooleanController.java @@ -102,7 +102,7 @@ public class BooleanController implements Controller { } public static class BooleanControllerElement extends ControllerWidget { - private BooleanControllerElement(BooleanController control, YACLScreen screen, Dimension dim) { + public BooleanControllerElement(BooleanController control, YACLScreen screen, Dimension dim) { super(control, screen, dim); } diff --git a/src/main/java/dev/isxander/yacl/gui/controllers/TickBoxController.java b/src/main/java/dev/isxander/yacl/gui/controllers/TickBoxController.java index ff693a9..193f5a6 100644 --- a/src/main/java/dev/isxander/yacl/gui/controllers/TickBoxController.java +++ b/src/main/java/dev/isxander/yacl/gui/controllers/TickBoxController.java @@ -50,7 +50,7 @@ public class TickBoxController implements Controller { } public static class TickBoxControllerElement extends ControllerWidget { - private TickBoxControllerElement(TickBoxController control, YACLScreen screen, Dimension dim) { + public TickBoxControllerElement(TickBoxController control, YACLScreen screen, Dimension dim) { super(control, screen, dim); } -- cgit