diff --git a/script/cube.ts b/script/cube.ts index 07d5627..93a8454 100644 --- a/script/cube.ts +++ b/script/cube.ts @@ -218,8 +218,8 @@ export function animateMoveWith(ds: RotateXY[], rs: RotateZ[]): void { const cube = document.getElementById('cube')!; cube.dataset.moving = 'true'; - cube.style.transition = '0.4s cubic-bezier(.4, -0.29, .43, 1.26)'; - outer.style.transition = `0.4s 0.25s cubic-bezier(.48, 0, .44, 1.07)`; + cube.style.transition = '0.6s cubic-bezier(.4, -0.29, .43, 1.26)'; + outer.style.transition = `0.4s 0.5s cubic-bezier(.48, 0, .44, 1.07)`; function transitionListener(elem: HTMLElement): () => void { function handler(e: Event) { if (e.target == elem) { finish(); } }