fix(ui): fix CSimpleFontString::GetHeight() to use proper method

This commit is contained in:
VDm 2025-04-05 13:24:47 +04:00
parent 0c39457ed1
commit 386ddcbd9f

View File

@ -234,7 +234,7 @@ float CSimpleFontString::GetHeight() {
float v9 = v2 == 0.0f ? this->GetStringHeight() : v2;
float v3 = 1.0f / (CoordinateGetAspectCompensation() * 1024.0f);
float v4 = NDCToDDCWidth(v3);
float v4 = NDCToDDCHeight(v3);
return v9 <= v4 ? v4 : v9;
}