Tweak note collapse threshold

This commit is contained in:
syuilo 2020-12-30 10:03:57 +09:00
parent 279310f71c
commit a8ddb134a1

View file

@ -278,8 +278,8 @@ export default defineComponent({
} }
this.collapsed = this.appearNote.text && ( this.collapsed = this.appearNote.text && (
(this.appearNote.text.split('\n').length > 8) || (this.appearNote.text.split('\n').length > 9) ||
(this.appearNote.text.length > 300) (this.appearNote.text.length > 500)
); );
this.muted = await checkWordMute(this.appearNote, this.$i, this.$store.state.mutedWords); this.muted = await checkWordMute(this.appearNote, this.$i, this.$store.state.mutedWords);