From 09cab605fc87888249b1c8b13a3af3ded3ebba6d Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 2 Nov 2020 15:16:37 +0900 Subject: Add new MFM animation --- src/client/components/mfm.ts | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/client/components') diff --git a/src/client/components/mfm.ts b/src/client/components/mfm.ts index 7a8ee8b19f..7e4fec2848 100644 --- a/src/client/components/mfm.ts +++ b/src/client/components/mfm.ts @@ -125,6 +125,12 @@ export default defineComponent({ }, genEl(token.children)); } + case 'twitch': { + return h('span', { + style: this.$store.state.device.animatedMfm ? 'display: inline-block; animation: anime-twitch 0.5s ease infinite;' : 'display: inline-block;' + }, genEl(token.children)); + } + case 'url': { return [h(MkUrl, { key: Math.random(), -- cgit v1.2.3-freya