aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/dev/isxander/yacl/gui/AbstractWidget.java
diff options
context:
space:
mode:
authorxander <xander@isxander.dev>2022-09-12 20:38:56 +0100
committerxander <xander@isxander.dev>2022-09-12 20:38:56 +0100
commitc9b82d52999f8c5f3f8c53e5a55327b8dfcf2beb (patch)
tree324d19ef04331fc33a5d38f7e0f5852613fb71f1 /src/main/java/dev/isxander/yacl/gui/AbstractWidget.java
parent5e0574b1cb6ef22bf70ce52a0c0e187450189c6c (diff)
downloadYetAnotherConfigLib-c9b82d52999f8c5f3f8c53e5a55327b8dfcf2beb.tar.gz
YetAnotherConfigLib-c9b82d52999f8c5f3f8c53e5a55327b8dfcf2beb.tar.bz2
YetAnotherConfigLib-c9b82d52999f8c5f3f8c53e5a55327b8dfcf2beb.zip
fix tooltips rendering below the scrollbar
Diffstat (limited to 'src/main/java/dev/isxander/yacl/gui/AbstractWidget.java')
-rw-r--r--src/main/java/dev/isxander/yacl/gui/AbstractWidget.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/dev/isxander/yacl/gui/AbstractWidget.java b/src/main/java/dev/isxander/yacl/gui/AbstractWidget.java
index 0886589..f81cc99 100644
--- a/src/main/java/dev/isxander/yacl/gui/AbstractWidget.java
+++ b/src/main/java/dev/isxander/yacl/gui/AbstractWidget.java
@@ -26,6 +26,10 @@ public abstract class AbstractWidget implements Element, Drawable, Selectable {
this.dim = dim;
}
+ public void postRender(MatrixStack matrices, int mouseX, int mouseY, float delta) {
+
+ }
+
public void setDimension(Dimension<Integer> dim) {
this.dim = dim;
}