mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-09 14:14:59 +00:00
Tweaked general-purpose UI text y offset
This commit is contained in:
@@ -1163,7 +1163,7 @@ def pbDrawTextPositions(bitmap,textpos)
|
|||||||
for i in textpos
|
for i in textpos
|
||||||
textsize = bitmap.text_size(i[0])
|
textsize = bitmap.text_size(i[0])
|
||||||
x = i[1]
|
x = i[1]
|
||||||
y = i[2] + (mkxp? ? 4 : 0)
|
y = i[2] + (mkxp? ? 6 : 0)
|
||||||
if i[3]==true || i[3]==1 # right align
|
if i[3]==true || i[3]==1 # right align
|
||||||
x -= textsize.width
|
x -= textsize.width
|
||||||
elsif i[3]==2 # centered
|
elsif i[3]==2 # centered
|
||||||
|
|||||||
Reference in New Issue
Block a user