This commit is contained in:
thororen 2024-04-17 14:29:47 -04:00
parent 538b87062a
commit ea7451bcdc
326 changed files with 24876 additions and 2280 deletions

View file

@ -0,0 +1,30 @@
/*
* Vencord, a Discord client mod
* Copyright (c) 2024 Vendicated and contributors
* SPDX-License-Identifier: GPL-3.0-or-later
*/
import { Devs } from "@utils/constants";
import definePlugin from "@utils/types";
export default definePlugin({
name: "NoModalAnimation",
description: "Remove the 300ms long animation when opening or closing modals",
authors: [Devs.AutumnVN],
patches: [
{
find: ".rootWithShadow",
replacement: {
match: /\?300:100/,
replace: "?0:0",
}
},
{
find: "BackdropStyles:function(){",
replacement: {
match: /\?0:300/,
replace: "?0:0",
}
}
]
});