mirror of
https://github.com/orange-cpp/omath.git
synced 2026-04-18 17:03:27 +00:00
fix
This commit is contained in:
@@ -50,7 +50,7 @@ namespace omath::hud
|
||||
text.data() + text.size());
|
||||
}
|
||||
[[nodiscard]]
|
||||
virtual Vector2<float> calc_text_size(const std::string_view& text)
|
||||
Vector2<float> calc_text_size(const std::string_view& text)
|
||||
{
|
||||
return Vector2<float>::from_im_vec2(ImGui::CalcTextSize(text.data()));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user