GUI2: removed extra + 2 offset from GUI__TEXT_VERTICALLY_CENTRED
This commit is contained in:
parent
1702f10360
commit
47bb358003
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@
|
|||
# If the text is too high it returns the top side.
|
||||
# Rounding happens to the bottom side.
|
||||
#define GUI__TEXT_VERTICALLY_CENTRED
|
||||
"(if(text_height < height, (height - text_height + 2) / 2, 0))"
|
||||
"(if(text_height < height, (height - text_height) / 2, 0))"
|
||||
#enddef
|
||||
|
||||
#define GUI__CENTERED_TEXT FONT_SIZE FONT_STYLE FONT_COLOR
|
||||
|
|
Loading…
Add table
Reference in a new issue