sleep fix

This commit is contained in:
Mashy 2019-12-18 17:03:30 +10:00
parent a8ec31fc97
commit 24b5857d86

View File

@ -83,7 +83,7 @@ class Sleep extends Component {
rotate: 180,
easing: 'linear',
loop: true,
duration: TIMES.TARGET_DURATION_MS + TIMES.POST_SKILL_DURATION_MS,
duration: TIMES.TARGET_DURATION_MS,
}));
this.animations.push(anime({
@ -97,7 +97,7 @@ class Sleep extends Component {
this.animations.push(anime({
targets: ['#charges'],
opacity: 1,
delay: anime.stagger(TIMES.TARGET_DURATION_MS * 0.015, { start: TIMES.TARGET_DELAY_MS }),
delay: anime.stagger(TIMES.TARGET_DURATION_MS * 0.01),
easing: 'easeInOutSine',
}));