- 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…
Add table
Add a link
Reference in a new issue