Skip to content

Commit

Permalink
Make sure the overlay is properly resized when frame changes (#21371)
Browse files Browse the repository at this point in the history
  • Loading branch information
MartyIX committed Mar 27, 2024
1 parent 0d3e90a commit d656c4e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Core/src/WindowOverlay/WindowOverlay.iOS.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public virtual bool Initialize()

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

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

0 comments on commit d656c4e

Please sign in to comment.