resize view when keyboard appears

This commit is contained in:
2017-07-29 15:02:27 +01:00
parent b0d28f3a6c
commit d01ec65cad
3 changed files with 39 additions and 2 deletions

View File

@@ -125,7 +125,7 @@ void App::update(float dt)
//glClear(GL_COLOR_BUFFER_BIT);
#ifndef __ANDROID__
layout.reload();
//layout.reload();
#endif
if (auto* main = layout[main_id])
main->update(width, height, zoom);