mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-07-05 11:33:21 +00:00
Fix non-inventory GUIs rendering labels
This commit is contained in:
parent
31764f6d65
commit
087c305b0d
|
@ -150,4 +150,10 @@ public boolean mouseDragged( double x, double y, int button, double deltaX, doub
|
|||
return (getFocused() != null && getFocused().mouseDragged( x, y, button, deltaX, deltaY ))
|
||||
|| super.mouseDragged( x, y, button, deltaX, deltaY );
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void func_230451_b_( @Nonnull MatrixStack transform, int mouseX, int mouseY )
|
||||
{
|
||||
// Skip rendering labels.
|
||||
}
|
||||
}
|
||||
|
|
|
@ -118,4 +118,10 @@ public void render( @Nonnull MatrixStack stack, int mouseX, int mouseY, float pa
|
|||
super.render( stack, mouseX, mouseY, partialTicks );
|
||||
func_230459_a_( stack, mouseX, mouseY );
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void func_230451_b_( @Nonnull MatrixStack transform, int mouseX, int mouseY )
|
||||
{
|
||||
// Skip rendering labels.
|
||||
}
|
||||
}
|
||||
|
|
|
@ -138,4 +138,10 @@ public boolean mouseDragged( double x, double y, int button, double deltaX, doub
|
|||
return (getFocused() != null && getFocused().mouseDragged( x, y, button, deltaX, deltaY ))
|
||||
|| super.mouseDragged( x, y, button, deltaX, deltaY );
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void func_230451_b_( @Nonnull MatrixStack transform, int mouseX, int mouseY )
|
||||
{
|
||||
// Skip rendering labels.
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user