delete clockAnimator;
clockAnimator = nullptr;
}
+ if(progress1animator_ != nullptr) {
+ progress1animator_->Stop();
+ delete progress1animator_;
+ progress1animator_ = nullptr;
+ }
mainSweepClock->RemoveAll();
delete batteryLabel;
return false;
}
progress1callback_ = new ProgressCallback(progress,batteryLabel);
- progress1animator_ = new Animator(progress1callback_,progress,100,true);
+ progress1animator_ = new Animator(progress1callback_,progress,5000,true);
progress1animator_->Start();
clockAnimator->Start();
SetCoverable(true);