Since the functionality for fixed width tooltips was unused, switched to utilizing standard tooltip rendering. This fixes issues with the screen overlay being miscolored and other item tooltips being broken.

This commit is contained in:
Sebastian Hartte
2016-09-29 22:54:54 +02:00
parent dde6e9b9d4
commit 928f623f7e
5 changed files with 35 additions and 94 deletions
@@ -381,10 +381,10 @@ public class GuiCraftConfirm extends AEBaseGui
}
}
if( this.tooltip >= 0 && dspToolTip.length() > 0 )
if( this.tooltip >= 0 && !dspToolTip.isEmpty() )
{
GL11.glPushAttrib( GL11.GL_ALL_ATTRIB_BITS );
this.drawTooltip( toolPosX, toolPosY + 10, 0, dspToolTip );
this.drawTooltip( toolPosX, toolPosY + 10, dspToolTip );
GL11.glPopAttrib();
}
}