forked from mia/Aegisub
Don't reset the progress animation timer when receiving redundant progress updates
This commit is contained in:
parent
bd7a71abf4
commit
c8410eec9c
1 changed files with 1 additions and 0 deletions
|
@ -233,6 +233,7 @@ void DialogProgress::OnCancel(wxCommandEvent &) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void DialogProgress::SetProgress(int target) {
|
void DialogProgress::SetProgress(int target) {
|
||||||
|
if (target == progress_target) return;
|
||||||
using namespace std::chrono;
|
using namespace std::chrono;
|
||||||
|
|
||||||
progress_anim_start_value = progress_current;
|
progress_anim_start_value = progress_current;
|
||||||
|
|
Loading…
Reference in a new issue