store text of text drawable

This commit is contained in:
ohyzha
2024-11-04 18:19:20 +02:00
parent e43d86cf4f
commit 4f3336014a
2 changed files with 3 additions and 0 deletions

View File

@@ -150,6 +150,7 @@ namespace OpenVulkano::Scene
return;
}
m_text = text;
auto GetActualLength = [&]()
{
auto begin = text.begin();