fix text zoom

This commit is contained in:
2019-09-19 10:14:05 +02:00
parent 4f9383aba7
commit 814fd76292
2 changed files with 12 additions and 13 deletions

View File

@@ -116,6 +116,5 @@ void NodeText::draw()
void NodeText::handle_resize(glm::vec2 old_size, glm::vec2 new_size, float zoom)
{
if (old_size != new_size)
m_text_mesh.update(font_id, m_text);
m_text_mesh.update(font_id, m_text);
}