mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-04-09 23:06:47 +03:00
fix(ui): fix CSimpleFontString::GetHeight() to use proper method
This commit is contained in:
parent
0c39457ed1
commit
386ddcbd9f
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user