animejs 3.xに対応

This commit is contained in:
syuilo
2019-01-18 13:06:11 +09:00
parent 8b6649b41f
commit 4ba43b69b6
19 changed files with 20 additions and 22 deletions

View File

@ -20,7 +20,7 @@
<script lang="ts">
import Vue from 'vue';
import * as anime from 'animejs';
import anime from 'animejs';
import { faTimesCircle, faQuestionCircle } from '@fortawesome/free-regular-svg-icons';
import parseAcct from "../../../../../misc/acct/parse";
@ -93,7 +93,7 @@ export default Vue.extend({
opacity: 1,
scale: [1.2, 1],
duration: 300,
easing: [0, 0.5, 0.5, 1]
easing: 'cubicBezier(0, 0.5, 0.5, 1)'
});
if (this.splash) {
@ -142,7 +142,7 @@ export default Vue.extend({
opacity: 0,
scale: 0.8,
duration: 300,
easing: [0, 0.5, 0.5, 1],
easing: 'cubicBezier(0, 0.5, 0.5, 1)',
complete: () => this.destroyDom()
});
},