adding color picking on iOS

This commit is contained in:
2017-08-02 19:51:59 +01:00
parent d01ec65cad
commit 235862c9d1
13 changed files with 202 additions and 15 deletions

View File

@@ -157,6 +157,7 @@ int t_count = 0;
- (void)viewDidAppear:(BOOL)animated
{
App::I.redraw = true;
[self resignFirstResponder];
[self registerForKeyboardNotifications];
}
@@ -235,6 +236,8 @@ int t_count = 0;
- (void)glkView:(GLKView *)view drawInRect:(CGRect)rect
{
if (!App::I.redraw)
return;
App::I.clear();
App::I.update(0);
}