Skip to content

Commit 55d8bd3

Browse files
committed
popups shouldnt override Resize method.
1 parent c1dce5c commit 55d8bd3

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

native/Avalonia.Native/src/OSX/PopupImpl.mm

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -33,23 +33,6 @@ virtual NSWindowStyleMask GetStyle() override
3333
return NSWindowStyleMaskBorderless;
3434
}
3535

36-
virtual HRESULT Resize(double x, double y, AvnPlatformResizeReason reason) override
37-
{
38-
START_COM_CALL;
39-
40-
@autoreleasepool
41-
{
42-
if (Window != nullptr)
43-
{
44-
[Window setContentSize:NSSize{x, y}];
45-
46-
[Window setFrameTopLeftPoint:ToNSPoint(ConvertPointY(lastPositionSet))];
47-
}
48-
49-
return S_OK;
50-
}
51-
}
52-
5336
public:
5437
virtual bool ShouldTakeFocusOnShow() override
5538
{

0 commit comments

Comments
 (0)