Fix Animation for Progress Bar (#725)

This commit is contained in:
GRaff844 authored and GitHub committed 2024-11-13 06:01:21 +01:00
1 parent 27faa81985
commit 160fbac07c
1 file changed
+2 -1
+2 -1
View File
@@ -131,6 +131,7 @@ namespace VocaluxeLib.Menu
get { return _ProgressTarget; } get { return _ProgressTarget; }
set set
{ {
_ProgressLast = 0;
//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)
{ {
@@ -506,4 +507,4 @@ namespace VocaluxeLib.Menu
} }
#endregion ThemeEdit #endregion ThemeEdit
} }
} }