fix imported image aspect ratio and the transform handles for touch devices
This commit is contained in:
@@ -97,13 +97,13 @@ std::recursive_mutex lock_mutex;
|
||||
std::string path = [chosenImage cStringUsingEncoding:NSUTF8StringEncoding];
|
||||
p->callback(path);
|
||||
[picker dismissViewControllerAnimated:YES completion:^{
|
||||
[self keyboardWillBeHidden:nil];
|
||||
[self keyboardWasHidden:nil];
|
||||
}];
|
||||
}
|
||||
- (void)imagePickerControllerDidCancel:(UIImagePickerController *)picker
|
||||
{
|
||||
[picker dismissViewControllerAnimated:YES completion:^{
|
||||
[self keyboardWillBeHidden:nil];
|
||||
[self keyboardWasHidden:nil];
|
||||
}];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user