Add Hoverable Text to specific scroll List

This commit is contained in:
Kam committed 2023-11-06 19:19:17 -05:00
1 parent 0284ab9a00
commit 2b54c0afd6
15 files changed
+75 -95

No files matched your search

@@ -252,10 +252,16 @@ public abstract class GuiNPCInterface extends GuiScreen
tf.drawTextBox(i, j);
}
for(GuiCustomScroll scroll : scrolls.values())
scroll.drawScreen(i, j, f, hasSubGui()?0:this.mouseWheel);
if(!scroll.hoverableText){
scroll.drawScreen(i, j, f, hasSubGui()?0:this.mouseWheel);
}
for(GuiScreen gui : extra.values())
gui.drawScreen(i, j, f);
super.drawScreen(i, j, f);
for(GuiCustomScroll scroll : scrolls.values())
if(scroll.hoverableText){
scroll.drawScreen(i, j, f, hasSubGui()?0:this.mouseWheel);
}
if(subgui != null)
subgui.drawScreen(i,j,f);
}