Skip to content

Commit d656c4e

Browse files
authored
Make sure the overlay is properly resized when frame changes (#21371)
1 parent 0d3e90a commit d656c4e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Core/src/WindowOverlay/WindowOverlay.iOS.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ public virtual bool Initialize()
2727

2828
// Create a passthrough view for holding the canvas and other diagnostics tools.
2929
_passthroughView = new PassthroughView(this, platformWindow.RootViewController.View.Frame);
30+
_passthroughView.AutoresizingMask = UIViewAutoresizing.All;
3031

3132
_graphicsView = new PlatformGraphicsView(_passthroughView.Frame, this, new DirectRenderer());
3233
_graphicsView.AutoresizingMask = UIViewAutoresizing.All;

0 commit comments

Comments
 (0)