stuff
This commit is contained in:
parent
83921659ce
commit
ab0bd1bb66
|
@ -2,7 +2,7 @@
|
||||||
* @name BDFDB
|
* @name BDFDB
|
||||||
* @author DevilBro
|
* @author DevilBro
|
||||||
* @authorId 278543574059057154
|
* @authorId 278543574059057154
|
||||||
* @version 3.5.6
|
* @version 3.5.7
|
||||||
* @description Required Library for DevilBro's Plugins
|
* @description Required Library for DevilBro's Plugins
|
||||||
* @invite Jx3TjNS
|
* @invite Jx3TjNS
|
||||||
* @donate https://www.paypal.me/MircoWittrien
|
* @donate https://www.paypal.me/MircoWittrien
|
||||||
|
@ -8042,7 +8042,6 @@ module.exports = (_ => {
|
||||||
],
|
],
|
||||||
after: [
|
after: [
|
||||||
"DiscordTag",
|
"DiscordTag",
|
||||||
"UseCopyIdItem",
|
|
||||||
"UserPopoutAvatar"
|
"UserPopoutAvatar"
|
||||||
],
|
],
|
||||||
componentDidMount: [
|
componentDidMount: [
|
||||||
|
@ -8257,7 +8256,10 @@ module.exports = (_ => {
|
||||||
e.instance.props.avatar = Internal._processAvatarRender(e.instance.props.user, e.instance.props.avatar) || e.instance.props.avatar;
|
e.instance.props.avatar = Internal._processAvatarRender(e.instance.props.user, e.instance.props.avatar) || e.instance.props.avatar;
|
||||||
};
|
};
|
||||||
Internal.processMenu = function (e) {
|
Internal.processMenu = function (e) {
|
||||||
if (e.instance.props && (!e.instance.props.children || BDFDB.ArrayUtils.is(e.instance.props.children) && !e.instance.props.children.length)) Internal.LibraryModules.ContextMenuUtils.closeContextMenu();
|
if (e.instance.props && (e.instance.props.children || BDFDB.ArrayUtils.is(e.instance.props.children) && e.instance.props.children.length)) {
|
||||||
|
let patchCancel = BDFDB.PatchUtils.patch(BDFDB, Internal.LibraryModules.ContextMenuUtils, "closeContextMenu", {instead: e => {}});
|
||||||
|
BDFDB.TimeUtils.timeout(_ => patchCancel(), 1000);
|
||||||
|
}
|
||||||
};
|
};
|
||||||
Internal.processMessageActionsContextMenu = function (e) {
|
Internal.processMessageActionsContextMenu = function (e) {
|
||||||
e.instance.props.updatePosition = _ => {};
|
e.instance.props.updatePosition = _ => {};
|
||||||
|
@ -8276,9 +8278,6 @@ module.exports = (_ => {
|
||||||
Internal.processSearchBar = function (e) {
|
Internal.processSearchBar = function (e) {
|
||||||
if (typeof e.instance.props.query != "string") e.instance.props.query = "";
|
if (typeof e.instance.props.query != "string") e.instance.props.query = "";
|
||||||
};
|
};
|
||||||
Internal.processUseCopyIdItem = function (e) {
|
|
||||||
if (!e.returnvalue) e.returnvalue = false;
|
|
||||||
};
|
|
||||||
Internal.processUserPopoutAvatar = function (e) {
|
Internal.processUserPopoutAvatar = function (e) {
|
||||||
if (!e.instance.props.user) return;
|
if (!e.instance.props.user) return;
|
||||||
let [children, index] = BDFDB.ReactUtils.findParent(e.returnvalue, {props: [["className", BDFDB.disCN.userpopoutavatarwrapper]]});
|
let [children, index] = BDFDB.ReactUtils.findParent(e.returnvalue, {props: [["className", BDFDB.disCN.userpopoutavatarwrapper]]});
|
||||||
|
|
|
@ -477,7 +477,6 @@
|
||||||
"TypingUsers": {"strings": ["Easing.quad", ".emphasizeSlowmodeCooldown", ".sequence("]},
|
"TypingUsers": {"strings": ["Easing.quad", ".emphasizeSlowmodeCooldown", ".sequence("]},
|
||||||
"UnavailableGuildsButton": {"strings": [".errorInner", ".guildsError", "Messages.PARTIAL_OUTAGE"]},
|
"UnavailableGuildsButton": {"strings": [".errorInner", ".guildsError", "Messages.PARTIAL_OUTAGE"]},
|
||||||
"UnreadDMs": {"strings": ["getMutablePrivateChannels", "selectedVoiceGuildId", "selectedVoiceChannelId:"]},
|
"UnreadDMs": {"strings": ["getMutablePrivateChannels", "selectedVoiceGuildId", "selectedVoiceChannelId:"]},
|
||||||
"UseCopyIdItem": {"strings": ["\"devmode-copy-id"]},
|
|
||||||
"UserBadges": {"strings": [".PROFILE_USER_BADGES", "SIZE_24"]},
|
"UserBadges": {"strings": [".PROFILE_USER_BADGES", "SIZE_24"]},
|
||||||
"UserBanner": {"strings": ["showPremiumBadgeUpsell:", ".isPremiumAtLeast", ".SETTINGS"]},
|
"UserBanner": {"strings": ["showPremiumBadgeUpsell:", ".isPremiumAtLeast", ".SETTINGS"]},
|
||||||
"UserBannerMask": {"strings": [".bannerSVGWrapper", "getAvatarSpecs", "foreignObject"]},
|
"UserBannerMask": {"strings": [".bannerSVGWrapper", "getAvatarSpecs", "foreignObject"]},
|
||||||
|
@ -3146,6 +3145,7 @@
|
||||||
"svgicon": ["BDFDB", "svgIcon"],
|
"svgicon": ["BDFDB", "svgIcon"],
|
||||||
"svgiconwrapper": ["BDFDB", "svgIconWrapper"],
|
"svgiconwrapper": ["BDFDB", "svgIconWrapper"],
|
||||||
"switch": ["Switch", "container"],
|
"switch": ["Switch", "container"],
|
||||||
|
"switchchecked": ["Switch", "checked"],
|
||||||
"switchinner": ["Switch", "input"],
|
"switchinner": ["Switch", "input"],
|
||||||
"switchmini": ["BDFDB", "switchMini"],
|
"switchmini": ["BDFDB", "switchMini"],
|
||||||
"switchslider": ["Switch", "slider"],
|
"switchslider": ["Switch", "slider"],
|
||||||
|
|
Loading…
Reference in New Issue