summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client/app/common/views/components/mfm.ts4
1 files 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: {