Преглед изворни кода

Fix protected overrides and restore IKeyFrame interface.

Jumar Macato пре 7 година
родитељ
комит
e11f087b0b
2 измењених фајлова са 2 додато и 2 уклоњено
  1. 1 1
      src/Avalonia.Animation/DoubleKeyFrames.cs
  2. 1 1
      src/Avalonia.Animation/IKeyFrames.cs

+ 1 - 1
src/Avalonia.Animation/DoubleKeyFrames.cs

@@ -16,7 +16,7 @@ namespace Avalonia.Animation
     {
 
         /// <inheritdocs/>
-        public override double DoInterpolation(double t)
+        protected override double DoInterpolation(double t)
         {
             var pair = GetKFPairAndIntraKFTime(t);
             double y0 = pair.KFPair.FirstKeyFrame.Value;

+ 1 - 1
src/Avalonia.Animation/IKeyFrames.cs

@@ -7,7 +7,7 @@ namespace Avalonia.Animation
     /// <summary>
     /// Interface for Keyframe group object
     /// </summary>
-    internal interface IKeyFrames
+    public interface IKeyFrames
     {
         /// <summary>
         /// Applies the current KeyFrame group to the specified control.