mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-19 13:09:22 +00:00
fixed: popover positioning
This commit is contained in:
1 parent
3aa8eb9533
commit
5995b42872
1 file changed
+4
-2
@@ -581,10 +581,12 @@ var _CPPopoverWindow_shouldClose_ = 1 << 4,
|
||||
|
||||
- (void)_orderFront
|
||||
{
|
||||
if (![self isVisible])
|
||||
[self _addFrameObserver];
|
||||
var wasVisible = [self isVisible];
|
||||
|
||||
[super _orderFront];
|
||||
|
||||
if (!wasVisible)
|
||||
[self _addFrameObserver];
|
||||
}
|
||||
|
||||
- (void)_parentDidOrderInChild
|
||||
|
||||
Reference in new issue
Block a user