From bbdb2496a46dbf264d18eb770f27821867b7b5b1 Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 31 Jan 2019 12:24:14 +0900 Subject: [PATCH] =?UTF-8?q?[Client]=20MFM=E3=81=AE=E5=88=B6=E9=99=90?= =?UTF-8?q?=E3=82=92=E7=B7=A9=E5=92=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/client/app/common/views/components/mfm.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/app/common/views/components/mfm.ts b/src/client/app/common/views/components/mfm.ts index 86ae11fd40..bf013923a8 100644 --- a/src/client/app/common/views/components/mfm.ts +++ b/src/client/app/common/views/components/mfm.ts @@ -126,7 +126,7 @@ export default Vue.component('misskey-flavored-markdown', { case 'spin': { motionCount++; - const isLong = sumTextsLength(token.children) > 5 || countNodesF(token.children) > 3; + const isLong = sumTextsLength(token.children) > 10 || countNodesF(token.children) > 5; const isMany = motionCount > 5; const direction = token.node.props.attr == 'left' ? 'reverse' : @@ -144,7 +144,7 @@ export default Vue.component('misskey-flavored-markdown', { case 'jump': { motionCount++; - const isLong = sumTextsLength(token.children) > 5 || countNodesF(token.children) > 3; + const isLong = sumTextsLength(token.children) > 30 || countNodesF(token.children) > 5; const isMany = motionCount > 5; return (createElement as any)('span', { attrs: {