Browse Source

fix implementation of ScalingChanged property.

there were 2x implementations, 1x implicit, 1x explicit... :face-palm:
Dan Walmsley 4 years ago
parent
commit
863961551c
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; }