fixed: popover positioning

This commit is contained in:
daboe01 committed 2014-12-25 17:37:18 +01:00
1 parent 3aa8eb9533
commit 5995b42872
1 file changed
+4 -2
+4 -2
View File
@@ -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