aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/cc/polyfrost/oneconfig/gui/pages
diff options
context:
space:
mode:
authorDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-06-15 18:51:02 +0200
committerDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-06-15 18:51:02 +0200
commit8500111ec9225875c85c03692efbf2dc2c2198dc (patch)
tree372c1b0bd63c1208cc6af1df154755bffd8a2c7f /src/main/java/cc/polyfrost/oneconfig/gui/pages
parent22f9e4df5c76b7a7e2d403f71cab18e2ddfc45f9 (diff)
downloadOneConfig-8500111ec9225875c85c03692efbf2dc2c2198dc.tar.gz
OneConfig-8500111ec9225875c85c03692efbf2dc2c2198dc.tar.bz2
OneConfig-8500111ec9225875c85c03692efbf2dc2c2198dc.zip
bug fixes
Diffstat (limited to 'src/main/java/cc/polyfrost/oneconfig/gui/pages')
-rw-r--r--src/main/java/cc/polyfrost/oneconfig/gui/pages/Page.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/cc/polyfrost/oneconfig/gui/pages/Page.java b/src/main/java/cc/polyfrost/oneconfig/gui/pages/Page.java
index 5ce6561..9a4b1eb 100644
--- a/src/main/java/cc/polyfrost/oneconfig/gui/pages/Page.java
+++ b/src/main/java/cc/polyfrost/oneconfig/gui/pages/Page.java
@@ -24,7 +24,7 @@ public abstract class Page {
private long scrollTime;
private boolean mouseWasDown, dragging;
private float yStart;
- public ArrayList<Page> parents = null;
+ public final ArrayList<Page> parents = new ArrayList<>();
public Page(String title) {
this.title = title;