From c9b82d52999f8c5f3f8c53e5a55327b8dfcf2beb Mon Sep 17 00:00:00 2001 From: xander Date: Mon, 12 Sep 2022 20:38:56 +0100 Subject: fix tooltips rendering below the scrollbar --- src/main/java/dev/isxander/yacl/gui/AbstractWidget.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/main/java/dev/isxander/yacl/gui/AbstractWidget.java') 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 dim) { this.dim = dim; } -- cgit