diff options
| author | robojumper <robojumper@gmail.com> | 2025-11-22 15:43:26 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-22 15:43:26 +0100 |
| commit | b661da78b52958faffb589955df0453c5b0f6740 (patch) | |
| tree | 20ef8223571890b3b015aee11e227fb9a3ef0077 /src/d/lyt/d_textbox.cpp | |
| parent | 25c799aef9a58395d1a2e2cd573defce7fc5f34f (diff) | |
| parent | 9cae4869105d4b891f4d483f9bddd146e93eb989 (diff) | |
Merge pull request #257 from robojumper/d_lyt_map_more
some more map things
Diffstat (limited to 'src/d/lyt/d_textbox.cpp')
| -rw-r--r-- | src/d/lyt/d_textbox.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/d/lyt/d_textbox.cpp b/src/d/lyt/d_textbox.cpp index abc1ecaf..77ca6764 100644 --- a/src/d/lyt/d_textbox.cpp +++ b/src/d/lyt/d_textbox.cpp @@ -439,7 +439,7 @@ f32 dTextBox_c::GetLinesHeight() const { return totalHeight; } -f32 dTextBox_c::GetUnkWidthRatio() const { +f32 dTextBox_c::getLineDrawWidth() const { return GetLineWidth(nullptr) / dGfx_c::get16x9to4x3WidthScaleF(); } |
