mirror of https://github.com/odrling/Aegisub
Don't reset the progress animation timer when receiving redundant progress updates
This commit is contained in:
parent
3d21f00356
commit
87501931f6
|
@ -233,6 +233,7 @@ void DialogProgress::OnCancel(wxCommandEvent &) {
|
|||
}
|
||||
|
||||
void DialogProgress::SetProgress(int target) {
|
||||
if (target == progress_target) return;
|
||||
using namespace std::chrono;
|
||||
|
||||
progress_anim_start_value = progress_current;
|
||||
|
|
Loading…
Reference in New Issue