mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-08 09:58:02 +00:00
Fixed: the method setContentSize: of the CPPopover did not take care about the rect given when displaying the popover
This commit is contained in:
1 parent
2f9f3db198
commit
0f5dd99167
1 file changed
+1
-1
@@ -419,7 +419,7 @@ var _CPPopoverWindow_shouldClose_ = 1 << 4,
|
||||
|
||||
if ([self isVisible])
|
||||
{
|
||||
var point = [self computeOriginFromRect:[_targetView bounds] ofView:_targetView preferredEdge:[_windowView preferredEdge]];
|
||||
var point = [self computeOriginFromRect:_targetRect ofView:_targetView preferredEdge:[_windowView preferredEdge]];
|
||||
[self setFrameOrigin:point];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user