mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +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()
|
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