Tooltips near the top should be pushed down to be visible.
This commit is contained in:
parent
8291499920
commit
da86bd65f6
1 changed files with 4 additions and 1 deletions
|
@ -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 );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue