Skip to content

Commit

Permalink
Automated dotnet-format update (#1140)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] authored Oct 30, 2024
1 parent a44bbb4 commit 0be86c5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/Beutl/ViewModels/Editors/BaseEditorViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,9 @@ public override void InsertKeyFrame(TimeSpan keyTime)
CommandRecorder recorder = this.GetRequiredService<CommandRecorder>();
var keyframe = new KeyFrame<T>
{
Value = kfAnimation.Interpolate(keyTime), Easing = new SplineEasing(), KeyTime = keyTime
Value = kfAnimation.Interpolate(keyTime),
Easing = new SplineEasing(),
KeyTime = keyTime
};

RecordableCommands.Create(GetStorables())
Expand Down Expand Up @@ -431,7 +433,9 @@ public override void PrepareToEditAnimation()
T initialValue = animatableProperty.GetValue()!;
newAnimation.KeyFrames.Add(new KeyFrame<T>
{
Value = initialValue, Easing = new SplineEasing(), KeyTime = TimeSpan.Zero
Value = initialValue,
Easing = new SplineEasing(),
KeyTime = TimeSpan.Zero
});

RecordableCommands.Create(GetStorables())
Expand Down

0 comments on commit 0be86c5

Please sign in to comment.