mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-28 17:32:03 +00:00
FIXED: Popover not showing in correct platform window.
This was fixed a month ago, but additional later commits added a dumb test preventing this to work correctly
This commit is contained in:
1 parent
b6d76eb84e
commit
01b631aea6
1 file changed
+1
-3
+1
-3
@@ -246,9 +246,7 @@ Set the behavior of the CPPopover. It can be:
|
||||
if (!_popoverWindow)
|
||||
_popoverWindow = [[_CPPopoverWindow alloc] initWithContentRect:CGRectMakeZero() styleMask:[self _styleMaskForBehavior]];
|
||||
|
||||
if (_positioningView != positioningView)
|
||||
[_popoverWindow setPlatformWindow:[[positioningView window] platformWindow]];
|
||||
|
||||
[_popoverWindow setPlatformWindow:[[positioningView window] platformWindow]];
|
||||
[_popoverWindow setAppearance:_appearance];
|
||||
[_popoverWindow setAnimates:_animates];
|
||||
[_popoverWindow setDelegate:self];
|
||||
|
||||
Reference in new issue
Block a user