Skip to content

Commit

Permalink
Merge pull request #22 from dev-in-disguise/feat/improveWiggleAnimation
Browse files Browse the repository at this point in the history
Feat/improve wiggle animation
  • Loading branch information
dev-in-disguise committed Jun 27, 2021
2 parents 2975327 + c5d8252 commit cd7daa2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/DiD.Idefix/Animations/AnimationService.cs
Expand Up @@ -18,6 +18,8 @@ public async Task ShowWigglingIdefixAsync()
Console.CursorVisible = false;
Console.Clear();
await ShowIdefixAsync();

var previousRow = Console.CursorTop;
var tailLeft = IdefixResources.IdefixTailLeft.Split(Environment.NewLine);
var tailRight = IdefixResources.IdefixTailRight.Split(Environment.NewLine);
bool isTailRight = true;
Expand All @@ -43,6 +45,7 @@ public async Task ShowWigglingIdefixAsync()
catch (TaskCanceledException) { }

Console.CursorVisible = true;
Console.SetCursorPosition(0, previousRow);
}
}
}
2 changes: 1 addition & 1 deletion src/DiD.Idefix/DiD.Idefix.csproj
Expand Up @@ -8,7 +8,7 @@
<PackAsTool>true</PackAsTool>
<ToolCommandName>idefix</ToolCommandName>
<PackageOutputPath>./nupkg</PackageOutputPath>
<PackageVersion>3.1.3</PackageVersion>
<PackageVersion>3.2.0</PackageVersion>
</PropertyGroup>

<!-- Contains the metadata of the project -->
Expand Down

0 comments on commit cd7daa2

Please sign in to comment.