From c732b35931f70b30d1f68de64682bb29b25780b6 Mon Sep 17 00:00:00 2001 From: m3rein Date: Fri, 11 Sep 2020 15:45:44 +0200 Subject: [PATCH] Tweaked general-purpose UI text y offset --- Data/Scripts/009_Objects and windows/006_DrawText.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Data/Scripts/009_Objects and windows/006_DrawText.rb b/Data/Scripts/009_Objects and windows/006_DrawText.rb index 396fdbfbc..ac7184eec 100644 --- a/Data/Scripts/009_Objects and windows/006_DrawText.rb +++ b/Data/Scripts/009_Objects and windows/006_DrawText.rb @@ -1163,7 +1163,7 @@ def pbDrawTextPositions(bitmap,textpos) for i in textpos textsize = bitmap.text_size(i[0]) x = i[1] - y = i[2] + (mkxp? ? 4 : 0) + y = i[2] + (mkxp? ? 6 : 0) if i[3]==true || i[3]==1 # right align x -= textsize.width elsif i[3]==2 # centered