aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io
diff options
context:
space:
mode:
authorsnowyleopardcc <chellsie.studiocc@gmail.com>2019-08-02 14:13:39 -0500
committersnowyleopardcc <chellsie.studiocc@gmail.com>2019-08-02 14:13:39 -0500
commitd9ef4de731834c8c93031279788c2cef853b98d7 (patch)
tree7cf63bdb61473370dd14773ed6d69270d4c8eb62 /src/main/java/io
parent8a448c818025945b2f33d0db01c375678f224d30 (diff)
downloadLibGui-d9ef4de731834c8c93031279788c2cef853b98d7.tar.gz
LibGui-d9ef4de731834c8c93031279788c2cef853b98d7.tar.bz2
LibGui-d9ef4de731834c8c93031279788c2cef853b98d7.zip
Updated access on variables...
Diffstat (limited to 'src/main/java/io')
-rw-r--r--src/main/java/io/github/cottonmc/cotton/gui/widget/WToggleButton.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/io/github/cottonmc/cotton/gui/widget/WToggleButton.java b/src/main/java/io/github/cottonmc/cotton/gui/widget/WToggleButton.java
index a0d4773..badb005 100644
--- a/src/main/java/io/github/cottonmc/cotton/gui/widget/WToggleButton.java
+++ b/src/main/java/io/github/cottonmc/cotton/gui/widget/WToggleButton.java
@@ -76,8 +76,8 @@ public class WToggleButton extends WWidget {
protected int width = 18;
protected int height = 18;
- boolean isOn = false;
- Runnable onToggle;
+ protected boolean isOn = false;
+ protected Runnable onToggle;
protected int color = WLabel.DEFAULT_TEXT_COLOR;
protected int darkmodeColor = WLabel.DEFAULT_DARKMODE_TEXT_COLOR;