mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 15:18:34 +01:00
Made tooltips render over the text (yes, perspective is beautiful)
This commit is contained in:
parent
6952588510
commit
bfdd74d0c6
1 changed files with 5 additions and 4 deletions
|
@ -133,16 +133,17 @@ public class GuiBooklet extends GuiScreen{
|
|||
super.drawScreen(x, y, f);
|
||||
this.searchField.drawTextBox();
|
||||
|
||||
//Renders the current page's content
|
||||
if(this.currentEntrySet.entry != null && this.currentEntrySet.chapter != null && this.currentEntrySet.page != null){
|
||||
this.currentEntrySet.page.render(this, x, y, this.ticksElapsed, this.mousePressed);
|
||||
}
|
||||
|
||||
//Draws hovering texts for buttons
|
||||
this.fontRendererObj.setUnicodeFlag(false);
|
||||
BookletUtils.doHoverTexts(this, x, y);
|
||||
BookletUtils.drawAchievementInfo(this, false, x, y);
|
||||
this.fontRendererObj.setUnicodeFlag(true);
|
||||
|
||||
//Renders the current page's content
|
||||
if(this.currentEntrySet.entry != null && this.currentEntrySet.chapter != null && this.currentEntrySet.page != null){
|
||||
this.currentEntrySet.page.render(this, x, y, this.ticksElapsed, this.mousePressed);
|
||||
}
|
||||
this.fontRendererObj.setUnicodeFlag(unicodeBefore);
|
||||
|
||||
//Resets mouse
|
||||
|
|
Loading…
Reference in a new issue