adding color picking on iOS
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>NSPhotoLibraryAddUsageDescription</key>
|
||||
<string>Save the pano image in the user gallery</string>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>en</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
|
||||
Reference in New Issue
Block a user