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);

View File

@@ -15,7 +15,7 @@
#include "node_panel_stroke.h"
#include "node_canvas.h"
#ifdef __OBJC__
#if defined(__OBJC__) && defined(__IOS__)
#import <Foundation/Foundation.h>
#import "GameViewController.h"
#endif