Browse Source

Merge pull request #5948 from AvaloniaUI/fixes/handle-scaling-correctly-osx

fix implementation of ScalingChanged property.
Dan Walmsley 4 years ago
parent
commit
d1354e9c3d
1 changed files with 1 additions and 3 deletions
  1. 1 3
      src/Avalonia.Native/WindowImplBase.cs

+ 1 - 3
src/Avalonia.Native/WindowImplBase.cs

@@ -414,9 +414,7 @@ namespace Avalonia.Native
 
         public Action<RawInputEventArgs> Input { get; set; }
 
-        Action<double> ScalingChanged { get; set; }
-
-        Action<double> ITopLevelImpl.ScalingChanged { get; set; }
+        public Action<double> ScalingChanged { get; set; }
 
         public Action<WindowTransparencyLevel> TransparencyLevelChanged { get; set; }