This commit is contained in:
2026-03-13 22:20:57 +03:00
parent 746f1b84a8
commit 977d772687

View File

@@ -50,7 +50,7 @@ namespace omath::hud
text.data() + text.size()); text.data() + text.size());
} }
[[nodiscard]] [[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())); return Vector2<float>::from_im_vec2(ImGui::CalcTextSize(text.data()));
} }