Proper shouldRenderTooltips call
This commit is contained in:
parent
c7442e4ad2
commit
93783a4210
@ -83,7 +83,7 @@ open class ProgressGaugePanel<out S : Screen>(
|
||||
}
|
||||
|
||||
override fun innerRenderTooltips(graphics: GuiGraphics, mouseX: Float, mouseY: Float, partialTick: Float): Boolean {
|
||||
if (isHovered) {
|
||||
if (shouldRenderTooltips(graphics, mouseX, mouseY, partialTick)) {
|
||||
graphics.renderComponentTooltip(font, makeTooltip(), mouseX.toInt(), mouseY.toInt())
|
||||
return true
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user