Tooltips near the top should be pushed down to be visible.
This commit is contained in:
@@ -460,9 +460,12 @@ public abstract class AEBaseGui extends GuiContainer
|
||||
{
|
||||
if ( y < mouse_y && y + tooltip.getHeight() > mouse_y )
|
||||
{
|
||||
if ( y < 15 )
|
||||
y = 15;
|
||||
|
||||
String msg = tooltip.getMsg();
|
||||
if ( msg != null )
|
||||
drawTooltip( x + 8, y + 4, 0, msg );
|
||||
drawTooltip( x + 11, y + 4, 0, msg );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user