mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-03-04 07:18:50 -07:00
Better note auto collapse algorithm
This commit is contained in:
parent
bb35935a14
commit
aa64d47d5d
1 changed files with 1 additions and 1 deletions
|
@ -277,7 +277,7 @@ export default defineComponent({
|
||||||
this.connection = os.stream;
|
this.connection = os.stream;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.collapsed = this.appearNote.text && (
|
this.collapsed = this.appearNote.cw == null && this.appearNote.text && (
|
||||||
(this.appearNote.text.split('\n').length > 9) ||
|
(this.appearNote.text.split('\n').length > 9) ||
|
||||||
(this.appearNote.text.length > 500)
|
(this.appearNote.text.length > 500)
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Reference in a new issue