Reset Animation (#726)
This commit is contained in:
1 parent
79ae92826a
commit
4b253c2c8d
1 file changed
+2
-1
@@ -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)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user