Removed unnecessary casts

This commit is contained in:
Joshua Askharoun
2021-03-31 17:15:06 -05:00
parent f7d5fa4120
commit 9b09412b45
587 changed files with 7864 additions and 7862 deletions
@@ -18,7 +18,7 @@ namespace Microsoft.Iris.Animations
ref AnimationArgs args)
{
Vector2 effectiveValue = this.GetEffectiveValue(targetObject, this._valueVector, ref args);
animation.AddVector2Keyframe((BaseKeyframe)this, effectiveValue);
animation.AddVector2Keyframe(this, effectiveValue);
}
public Vector2 Value
@@ -27,7 +27,7 @@ namespace Microsoft.Iris.Animations
set => this._valueVector = value;
}
public override object ObjectValue => (object)this.Value;
public override object ObjectValue => Value;
public virtual Vector2 GetEffectiveValue(
IAnimatable targetObject,