diff options
author | isXander <xandersmith2008@gmail.com> | 2023-05-23 23:17:12 +0100 |
---|---|---|
committer | isXander <xandersmith2008@gmail.com> | 2023-05-23 23:17:12 +0100 |
commit | aba5085302c6ad8eec1aa9ed25a9a86758d95d34 (patch) | |
tree | 4a69464f6030d65337aab97035ea282e69a071fa /common/src/main/java/dev/isxander/yacl/gui | |
parent | 3b8e4e76b4893fc910e6af1024c3710b6f87954b (diff) | |
download | YetAnotherConfigLib-aba5085302c6ad8eec1aa9ed25a9a86758d95d34.tar.gz YetAnotherConfigLib-aba5085302c6ad8eec1aa9ed25a9a86758d95d34.tar.bz2 YetAnotherConfigLib-aba5085302c6ad8eec1aa9ed25a9a86758d95d34.zip |
add list option descriptions + warn with deprecated tooltips
Diffstat (limited to 'common/src/main/java/dev/isxander/yacl/gui')
-rw-r--r-- | common/src/main/java/dev/isxander/yacl/gui/ScrollableNavigationBar.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/src/main/java/dev/isxander/yacl/gui/ScrollableNavigationBar.java b/common/src/main/java/dev/isxander/yacl/gui/ScrollableNavigationBar.java index e2d9ab8..62c63db 100644 --- a/common/src/main/java/dev/isxander/yacl/gui/ScrollableNavigationBar.java +++ b/common/src/main/java/dev/isxander/yacl/gui/ScrollableNavigationBar.java @@ -61,6 +61,10 @@ public class ScrollableNavigationBar extends TabNavigationBar { layout.setX(layout.getX() - this.scrollOffset); } + public int getScrollOffset() { + return scrollOffset; + } + @Override public void setFocused(@Nullable GuiEventListener child) { super.setFocused(child); |