diff options
author | Jason Wray <jason@kulturny.com> | 2015-04-09 00:03:17 -0700 |
---|---|---|
committer | Jason Wray <jason@kulturny.com> | 2015-04-09 00:03:17 -0700 |
commit | be599fa385baf2bedd2d788737282c84d8737a0f (patch) | |
tree | 3178fd82a3550bd95dc6bb34fd342da9316572cb /ios | |
parent | 56cd67407701ecce010a3d0af75a2c8d5bdb5a2c (diff) | |
download | qtlocation-mapboxgl-be599fa385baf2bedd2d788737282c84d8737a0f.tar.gz |
Animate the thing, I'm not an animal
Diffstat (limited to 'ios')
-rw-r--r-- | ios/app/MBXViewController.mm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ios/app/MBXViewController.mm b/ios/app/MBXViewController.mm index fc7ad3cb57..a26d723889 100644 --- a/ios/app/MBXViewController.mm +++ b/ios/app/MBXViewController.mm @@ -308,7 +308,9 @@ mbgl::Settings_NSUserDefaults *settings = nullptr; break; } - self.navigationItem.rightBarButtonItem.image = newButtonImage; + [UIView animateWithDuration:0.25 animations:^{ + self.navigationItem.rightBarButtonItem.image = newButtonImage; + }]; } #pragma clang diagnostic pop |