Reset Animation (#726)

This commit is contained in:
GRaff844 authored and GitHub committed 2024-11-14 20:54:53 +01:00
1 parent 79ae92826a
commit 4b253c2c8d
1 file changed
+2 -1
+2 -1
View File
@@ -1,4 +1,4 @@
#region license #region license
// This file is part of Vocaluxe. // This file is part of Vocaluxe.
// //
// Vocaluxe is free software: you can redistribute it and/or modify // Vocaluxe is free software: you can redistribute it and/or modify
@@ -132,6 +132,7 @@ namespace VocaluxeLib.Menu
set set
{ {
_ProgressLast = 0; _ProgressLast = 0;
_AnimTimer.Reset();
//Animation is still running, so use current state for calculations //Animation is still running, so use current state for calculations
if(_ProgressCurrent != _ProgressTarget) if(_ProgressCurrent != _ProgressTarget)
{ {