diff options
author | snowyleopardcc <chellsie.studiocc@gmail.com> | 2019-08-02 14:13:39 -0500 |
---|---|---|
committer | snowyleopardcc <chellsie.studiocc@gmail.com> | 2019-08-02 14:13:39 -0500 |
commit | d9ef4de731834c8c93031279788c2cef853b98d7 (patch) | |
tree | 7cf63bdb61473370dd14773ed6d69270d4c8eb62 /src | |
parent | 8a448c818025945b2f33d0db01c375678f224d30 (diff) | |
download | LibGui-d9ef4de731834c8c93031279788c2cef853b98d7.tar.gz LibGui-d9ef4de731834c8c93031279788c2cef853b98d7.tar.bz2 LibGui-d9ef4de731834c8c93031279788c2cef853b98d7.zip |
Updated access on variables...
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/io/github/cottonmc/cotton/gui/widget/WToggleButton.java | 4 |
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; |