mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-14 01:50:45 +01:00
[Client] MFMの制限を緩和
This commit is contained in:
parent
b515cc90e9
commit
bbdb2496a4
1 changed files with 2 additions and 2 deletions
|
@ -126,7 +126,7 @@ export default Vue.component('misskey-flavored-markdown', {
|
||||||
|
|
||||||
case 'spin': {
|
case 'spin': {
|
||||||
motionCount++;
|
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 isMany = motionCount > 5;
|
||||||
const direction =
|
const direction =
|
||||||
token.node.props.attr == 'left' ? 'reverse' :
|
token.node.props.attr == 'left' ? 'reverse' :
|
||||||
|
@ -144,7 +144,7 @@ export default Vue.component('misskey-flavored-markdown', {
|
||||||
|
|
||||||
case 'jump': {
|
case 'jump': {
|
||||||
motionCount++;
|
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;
|
const isMany = motionCount > 5;
|
||||||
return (createElement as any)('span', {
|
return (createElement as any)('span', {
|
||||||
attrs: {
|
attrs: {
|
||||||
|
|
Loading…
Reference in a new issue