PRE: Hoverable Button

This commit is contained in:
Kam committed 2024-02-29 20:34:49 -05:00
1 parent 702785476e
commit 0def6eafb7
2 files changed
+119

No files matched your search

@@ -253,6 +253,10 @@ public abstract class GuiNPCInterface extends GuiScreen
if(scroll.hoverableText){
scroll.drawHover(i, j, f, hasSubGui()?0:this.mouseWheel);
}
for(GuiNpcButton button : buttons.values())
if(!button.hoverableText.isEmpty()){
button.drawHover(i, j, hasSubGui());
}
if(subgui != null)
subgui.drawScreen(i,j,f);
}