diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2020-11-02 15:16:37 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2020-11-02 15:16:37 +0900 |
| commit | 09cab605fc87888249b1c8b13a3af3ded3ebba6d (patch) | |
| tree | 9be13050968691aa6f6e52c2cfc09ec9648fe733 /src/client/components | |
| parent | Improve usability (diff) | |
| download | sharkey-09cab605fc87888249b1c8b13a3af3ded3ebba6d.tar.gz sharkey-09cab605fc87888249b1c8b13a3af3ded3ebba6d.tar.bz2 sharkey-09cab605fc87888249b1c8b13a3af3ded3ebba6d.zip | |
Add new MFM animation
Diffstat (limited to 'src/client/components')
| -rw-r--r-- | src/client/components/mfm.ts | 6 |
1 files changed, 6 insertions, 0 deletions
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(), |