styling + remove log
This commit is contained in:
parent
a5f9dfd84a
commit
17acb0ee56
1 changed files with 14 additions and 13 deletions
|
@ -120,18 +120,18 @@
|
|||
v-model="collapsed"
|
||||
></XShowMoreButton>
|
||||
<XCwButton v-if="note.cw" v-model="showContent" :note="note" />
|
||||
<MkButton
|
||||
v-if="hasMfm && defaultStore.state.animatedMfm"
|
||||
@click.stop="toggleMfm"
|
||||
>
|
||||
<template v-if="disableMfm">
|
||||
<i class="ph-play ph-bold"></i> {{ i18n.ts._mfm.play }}
|
||||
</template>
|
||||
<template v-else>
|
||||
<i class="ph-stop ph-bold"></i> {{ i18n.ts._mfm.stop }}
|
||||
</template>
|
||||
</MkButton>
|
||||
</div>
|
||||
<MkButton
|
||||
v-if="hasMfm && defaultStore.state.animatedMfm"
|
||||
@click.stop="toggleMfm"
|
||||
>
|
||||
<template v-if="disableMfm">
|
||||
<i class="ph-play ph-bold"></i> {{ i18n.ts._mfm.play }}
|
||||
</template>
|
||||
<template v-else>
|
||||
<i class="ph-stop ph-bold"></i> {{ i18n.ts._mfm.stop }}
|
||||
</template>
|
||||
</MkButton>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
@ -185,8 +185,6 @@ const hasMfm = $ref(mfms.length > 0);
|
|||
|
||||
let disableMfm = $ref(hasMfm && defaultStore.state.animatedMfm);
|
||||
|
||||
console.log(disableMfm + " " + props.note.id + " " + defaultStore.state.animatedMfm);
|
||||
|
||||
async function toggleMfm() {
|
||||
if (disableMfm) {
|
||||
const { canceled } = await os.confirm({
|
||||
|
@ -335,5 +333,8 @@ function focusFooter(ev) {
|
|||
transition: none !important;
|
||||
}
|
||||
}
|
||||
> :deep(button) {
|
||||
margin-top: 10px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
Loading…
Reference in a new issue