Index: chrome/browser/cocoa/info_bubble_window.mm |
=================================================================== |
--- chrome/browser/cocoa/info_bubble_window.mm (revision 41189) |
+++ chrome/browser/cocoa/info_bubble_window.mm (working copy) |
@@ -106,7 +106,8 @@ |
// Apply animations to hide self. |
[NSAnimationContext beginGrouping]; |
[[NSAnimationContext currentContext] |
- gtm_setDuration:kOrderOutAnimationDuration]; |
+ gtm_setDuration:kOrderOutAnimationDuration |
+ eventMask:NSLeftMouseDownMask]; |
[[self animator] setAlphaValue:0.0]; |
[NSAnimationContext endGrouping]; |
} |
@@ -138,7 +139,8 @@ |
// Apply animations to show and move self. |
[NSAnimationContext beginGrouping]; |
[[NSAnimationContext currentContext] |
- gtm_setDuration:kOrderInAnimationDuration]; |
+ gtm_setDuration:kOrderInAnimationDuration |
+ eventMask:NSLeftMouseDownMask]; |
[[self animator] setAlphaValue:1.0]; |
[[self animator] setFrame:frame display:YES]; |
[NSAnimationContext endGrouping]; |