mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-01-07 16:00:31 +00:00
Don't override isMouseOver
Minecraft's Widget class implements this for us!
This commit is contained in:
parent
dc21e2dbc9
commit
d4745ae47e
@ -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 )
|
public static int getWidth( int termWidth )
|
||||||
{
|
{
|
||||||
return termWidth * FONT_WIDTH + MARGIN * 2;
|
return termWidth * FONT_WIDTH + MARGIN * 2;
|
||||||
|
Loading…
Reference in New Issue
Block a user