From 9201f7025029e363f5a27b07d40af69b4c60c924 Mon Sep 17 00:00:00 2001 From: Twinaphex Date: Sat, 12 Sep 2015 07:00:23 +0200 Subject: [PATCH] (CocoaTouch) Use different menu animation --- ui/drivers/cocoa/cocoatouch_menu.m | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/ui/drivers/cocoa/cocoatouch_menu.m b/ui/drivers/cocoa/cocoatouch_menu.m index 7df8459eb8..3646f70bd9 100644 --- a/ui/drivers/cocoa/cocoatouch_menu.m +++ b/ui/drivers/cocoa/cocoatouch_menu.m @@ -594,24 +594,25 @@ didSelectRowAtIndexPath:(NSIndexPath *)indexPath // Option 1. This is like how setting app works, but not exactly. // There is a typedef for the 'withRowAnimation' that has lots of // options, just Google UITableViewRowAnimation +#if 0 [self.tableView reloadSections:[NSIndexSet indexSetWithIndex:0] withRowAnimation:UITableViewRowAnimationAutomatic]; +#else - // Optione 2. This is a "bigger" transistion, but doesn't look as + // Option 2. This is a "bigger" transition, but doesn't look as // much like Settings. It has more options. Just Google // UIViewAnimationOptionTransition - /* [UIView transitionWithView:self.tableView - duration:0.35f - options:UIViewAnimationOptionTransitionCurlUp + duration:0.40f + options:UIViewAnimationOptionTransitionCrossDissolve animations:^(void) { [self.tableView reloadData]; } completion: nil]; - */ +#endif } -(void)renderMessageBox:(NSString *)msg