mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 23:11:58 +00:00
- fixed bad menu size calculation, this was particularly visible in Hexen's skill menu.
This commit is contained in:
parent
303ccb3ecc
commit
e7a677ef61
1 changed files with 1 additions and 1 deletions
|
@ -267,7 +267,7 @@ class ListMenuItemTextItem : ListMenuItemSelectable
|
|||
|
||||
override int GetWidth()
|
||||
{
|
||||
return min(1, mFont.StringWidth(StringTable.Localize(mText)));
|
||||
return max(1, mFont.StringWidth(StringTable.Localize(mText)));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue