From ad27e6c409579ab84304ae4dc35f6dc52a586e6b Mon Sep 17 00:00:00 2001 From: minjaesong Date: Fri, 17 Dec 2021 17:04:09 +0900 Subject: [PATCH] Fixed a bug where "Saving..." text would overlap with the progress ring --- src/net/torvald/terrarum/modulebasegame/ui/UIItemSaving.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net/torvald/terrarum/modulebasegame/ui/UIItemSaving.kt b/src/net/torvald/terrarum/modulebasegame/ui/UIItemSaving.kt index edb67d883..23fe06b0a 100644 --- a/src/net/torvald/terrarum/modulebasegame/ui/UIItemSaving.kt +++ b/src/net/torvald/terrarum/modulebasegame/ui/UIItemSaving.kt @@ -32,7 +32,7 @@ class UIItemSaving(parentUI: UICanvas, initialX: Int, initialY: Int) : UIItem(pa override fun render(batch: SpriteBatch, camera: Camera) { val t = Lang["MENU_IO_SAVING"] val tlen = App.fontGame.getWidth(t) - App.fontGame.draw(batch, t, (posX + (width - tlen) / 2).toFloat(), posY.toFloat()) + App.fontGame.draw(batch, t, (posX + (width - tlen) / 2).toFloat(), posY - 32f) // -1..63 val index = ((WriteSavegame.saveProgress / WriteSavegame.saveProgressMax) * circles).roundToInt() - 1