add: expand all long notes option
This commit is contained in:
parent
304a91a474
commit
e5667913f7
4 changed files with 7 additions and 3 deletions
|
|
@ -73,7 +73,7 @@ const parsed = $computed(() => props.note.text ? mfm.parse(props.note.text) : nu
|
|||
const animated = $computed(() => parsed ? checkAnimationFromMfm(parsed) : null);
|
||||
let allowAnim = $ref(defaultStore.state.advancedMfm && defaultStore.state.animatedMfm ? true : false);
|
||||
|
||||
const isLong = shouldCollapsed(props.note, []);
|
||||
const isLong = defaultStore.state.expandLongNote && !props.hideFiles ? false : shouldCollapsed(props.note, []);
|
||||
|
||||
function animatedMFM() {
|
||||
if (allowAnim) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue