forked from mirrors/0ad
b5e2ca7300
When scaling the GUI, GetCapHeight was incorrectly accounting for m_Scale which caused text to be hidden due to improper clipping calculations. This commit corrects the CapHeight calculation by ensuring that the division by m_Scale is applied, allowing text to be displayed correctly at all GUI scale levels.