From dedd51faf22fe58d91605717ca20f71328ad30d3 Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Sat, 23 May 2026 22:09:52 -0400 Subject: [PATCH] EquicordHelper: Drop No Modal Animation --- src/equicordplugins/equicordHelper/index.tsx | 15 --------------- src/plugins/themeAttributes/index.ts | 2 +- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/src/equicordplugins/equicordHelper/index.tsx b/src/equicordplugins/equicordHelper/index.tsx index a72722d22..5bfe14c2a 100644 --- a/src/equicordplugins/equicordHelper/index.tsx +++ b/src/equicordplugins/equicordHelper/index.tsx @@ -114,12 +114,6 @@ const settings = definePluginSettings({ restartNeeded: true, default: false }, - noModalAnimation: { - type: OptionType.BOOLEAN, - description: "Remove the 300ms long animation when opening or closing modals", - restartNeeded: true, - default: false - }, disableAdoptTagPrompt: { type: OptionType.BOOLEAN, description: "Disable the prompt to adopt tags", @@ -261,15 +255,6 @@ export default definePlugin({ } }, // Removes Modal Animation - { - find: 'backdropFilter:"blur(0px)"', - predicate: () => settings.store.noModalAnimation, - replacement: { - match: /\?0:200/, - replace: "?0:0", - } - }, - // Removes Modal Animation { find: '="ABOVE"', predicate: () => settings.store.noModalAnimation, diff --git a/src/plugins/themeAttributes/index.ts b/src/plugins/themeAttributes/index.ts index 37a4f2a9d..bf2765596 100644 --- a/src/plugins/themeAttributes/index.ts +++ b/src/plugins/themeAttributes/index.ts @@ -22,7 +22,7 @@ export default definePlugin({ { find: ".tabBarRef", replacement: { - match: /style:this\.getStyle\(\),role:"tab"/, + match: /style:this\.getStyle\(\),role:\i/, replace: "$&,'data-tab-id':this?.props?.id" } },