We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 340c98d commit e94d54dCopy full SHA for e94d54d
src/iOS/Avalonia.iOS/AvaloniaView.cs
@@ -375,6 +375,11 @@ public override void LayoutSubviews()
375
{
376
_topLevelImpl.Resized?.Invoke(_topLevelImpl.ClientSize, WindowResizeReason.Layout);
377
var scaling = (double)ContentScaleFactor;
378
+ if (_latestLayoutProps.scaling != scaling)
379
+ {
380
+ _topLevelImpl.ScalingChanged?.Invoke(scaling);
381
+ }
382
+
383
_latestLayoutProps = (new PixelSize((int)(Bounds.Width * scaling), (int)(Bounds.Height * scaling)), scaling);
384
if (_currentRenderTarget is not null)
385
0 commit comments