From d4f8934e8ae36beff426b92360458cf39cf41c30 Mon Sep 17 00:00:00 2001 From: eris Date: Mon, 8 Aug 2022 15:47:06 +0000 Subject: [PATCH] New option: Pause MFM animations until status hover (#120) Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/120 Co-authored-by: eris Co-committed-by: eris --- src/components/settings_modal/tabs/general_tab.vue | 12 ++++++++++++ src/components/status_body/status_body.scss | 1 + src/components/status_content/status_content.js | 3 +++ src/components/status_content/status_content.vue | 8 +++++++- src/i18n/en.json | 1 + src/modules/config.js | 1 + src/modules/instance.js | 1 + 7 files changed, 26 insertions(+), 1 deletion(-) diff --git a/src/components/settings_modal/tabs/general_tab.vue b/src/components/settings_modal/tabs/general_tab.vue index 1db25752..b2d06eef 100644 --- a/src/components/settings_modal/tabs/general_tab.vue +++ b/src/components/settings_modal/tabs/general_tab.vue @@ -103,6 +103,18 @@ {{ $t('settings.render_mfm') }} +
    +
  • + + {{ $t('settings.render_mfm_on_hover') }} + +
  • +
  • state.users.currentUser diff --git a/src/components/status_content/status_content.vue b/src/components/status_content/status_content.vue index 9510de30..3a99c779 100644 --- a/src/components/status_content/status_content.vue +++ b/src/components/status_content/status_content.vue @@ -1,7 +1,7 @@