mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-12-06 12:45:32 +00:00
FIXED: popover window was not trapping next mouse event if delegate responds no to popoverShouldClose:
This patch fixes that by automatically trapping next mouse event if after a performClose, the popover is still visible
This commit is contained in:
1 parent
5979baa874
commit
608480c1d2
1 file changed
+3
-4
@@ -726,11 +726,10 @@ var _CPPopoverWindow_shouldClose_ = 1 << 4,
|
||||
case CPPopoverBehaviorTransient:
|
||||
[_delegate performClose:self];
|
||||
break;
|
||||
|
||||
case CPPopoverBehaviorApplicationDefined:
|
||||
[self _trapNextMouseDown];
|
||||
break;
|
||||
}
|
||||
|
||||
if ([self isVisible])
|
||||
[self _trapNextMouseDown];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user