diff options
| -rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/CustomScoreboard.kt | 2 | ||||
| -rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/RenderBackground.kt | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/CustomScoreboard.kt b/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/CustomScoreboard.kt index 14f311aad..d9ed926dd 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/CustomScoreboard.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/CustomScoreboard.kt @@ -73,6 +73,8 @@ object CustomScoreboard { // We want to update the background every time, so we can have a smooth transition when using chroma as the color val finalRenderable = RenderBackground.addBackground(render) + RenderBackground.updatePosition(finalRenderable) + config.position.renderRenderable(finalRenderable, posLabel = GUI_NAME) } diff --git a/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/RenderBackground.kt b/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/RenderBackground.kt index 14d29d6ac..357b61a0c 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/RenderBackground.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/RenderBackground.kt @@ -62,7 +62,6 @@ object RenderBackground { ) } - internal fun updatePosition(renderable: Renderable) { if (GuiEditManager.isInGui()) return val alignmentConfig = CustomScoreboard.alignmentConfig |
