1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-01-06 07:20:30 +00:00

Don't override isMouseOver

Minecraft's Widget class implements this for us!
This commit is contained in:
Jonathan Coates 2021-06-12 22:02:03 +01:00
parent dc21e2dbc9
commit d4745ae47e
No known key found for this signature in database
GPG Key ID: B9E431FF07C98D06

View File

@ -319,12 +319,6 @@ public class WidgetTerminal extends Widget
}
}
@Override
public boolean isMouseOver( double x, double y )
{
return true;
}
public static int getWidth( int termWidth )
{
return termWidth * FONT_WIDTH + MARGIN * 2;