diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-11-22 13:11:48 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-11-22 13:11:48 +0100 |
commit | a6de55740355b3bc4d7c869626d22da5b3854416 (patch) | |
tree | fe28873ec430dc4be8beedd9c2738aaf2a1943b7 /src/main/java/at/hannibal2/skyhanni/utils/GuiRenderUtils.kt | |
parent | 5c9cbdba458638ae962ccf92e750ebdcea718478 (diff) | |
download | skyhanni-a6de55740355b3bc4d7c869626d22da5b3854416.tar.gz skyhanni-a6de55740355b3bc4d7c869626d22da5b3854416.tar.bz2 skyhanni-a6de55740355b3bc4d7c869626d22da5b3854416.zip |
reverted some private functions and other misc cleanup changes
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils/GuiRenderUtils.kt')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/utils/GuiRenderUtils.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/GuiRenderUtils.kt b/src/main/java/at/hannibal2/skyhanni/utils/GuiRenderUtils.kt index 7dfae5bac..5e4a63452 100644 --- a/src/main/java/at/hannibal2/skyhanni/utils/GuiRenderUtils.kt +++ b/src/main/java/at/hannibal2/skyhanni/utils/GuiRenderUtils.kt @@ -16,7 +16,7 @@ import kotlin.math.roundToInt */ object GuiRenderUtils { - private fun drawStringCentered(str: String?, fr: FontRenderer, x: Float, y: Float, shadow: Boolean, colour: Int) { + fun drawStringCentered(str: String?, fr: FontRenderer, x: Float, y: Float, shadow: Boolean, colour: Int) { val strLen = fr.getStringWidth(str) val x2 = x - strLen / 2f val y2 = y - fr.FONT_HEIGHT / 2f |