stuff
This commit is contained in:
parent
bd13da3fd0
commit
b2d50de61c
|
@ -9893,6 +9893,7 @@
|
|||
Message: "default",
|
||||
MessageHeader: "default",
|
||||
MemberListItem: ["componentDidMount", "componentDidUpdate"],
|
||||
PrivateChannel: ["componentDidMount", "componentDidUpdate"],
|
||||
UserPopout: ["componentDidMount", "componentDidUpdate"],
|
||||
UserProfile: ["componentDidMount", "componentDidUpdate"],
|
||||
V2C_ContentColumn: "render"
|
||||
|
@ -9943,7 +9944,7 @@
|
|||
"329018006371827713", // FUSL
|
||||
"562008872467038230" // BEAUDEN
|
||||
];
|
||||
InternalBDFDB._processAvatarRender = function (user, avatar, position = "top") {
|
||||
InternalBDFDB._processAvatarRender = function (user, avatar) {
|
||||
if (BDFDB.ReactUtils.isValidElement(avatar) && BDFDB.ObjectUtils.is(user)) {
|
||||
avatar.props["user_by_BDFDB"] = user.id;
|
||||
let role = "", className = BDFDB.DOMUtils.formatClassName((avatar.props.className || "").replace(BDFDB.disCN.avatar, ""));
|
||||
|
@ -9971,7 +9972,6 @@
|
|||
});
|
||||
if (settings.showSupportBadges) avatar.props.children.push(BDFDB.ReactUtils.createElement(InternalComponents.LibraryComponents.TooltipContainer, {
|
||||
text: role,
|
||||
tooltipConfig: {position},
|
||||
children: BDFDB.ReactUtils.createElement("div", {
|
||||
className: BDFDB.disCN.bdfdbbadge
|
||||
})
|
||||
|
@ -10026,11 +10026,14 @@
|
|||
InternalBDFDB.processMemberListItem = function (e) {
|
||||
InternalBDFDB._processAvatarMount(e.instance.props.user, e.node.querySelector(BDFDB.dotCN.avatarwrapper));
|
||||
};
|
||||
InternalBDFDB.processPrivateChannel = function (e) {
|
||||
InternalBDFDB._processAvatarMount(e.instance.props.user, e.node.querySelector(BDFDB.dotCN.avatarwrapper));
|
||||
};
|
||||
InternalBDFDB.processUserPopout = function (e) {
|
||||
InternalBDFDB._processAvatarMount(e.instance.props.user, e.node.querySelector(BDFDB.dotCN.userpopoutavatarwrapper));
|
||||
};
|
||||
InternalBDFDB.processUserProfile = function (e) {
|
||||
InternalBDFDB._processAvatarMount(e.instance.props.user, e.node.querySelector(BDFDB.dotCN.avatarwrapper), "right");
|
||||
InternalBDFDB._processAvatarMount(e.instance.props.user, e.node.querySelector(BDFDB.dotCN.avatarwrapper));
|
||||
};
|
||||
InternalBDFDB.processDiscordTag = function (e) {
|
||||
if (e.instance && e.instance.props && e.instance.props.user && e.returnvalue) e.returnvalue.props.user = e.instance.props.user;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -11,7 +11,7 @@
|
|||
width: 30% !important;
|
||||
height: 30% !important;
|
||||
top: 74% !important;
|
||||
left: 1% !important;
|
||||
left: 1.5% !important;
|
||||
}
|
||||
.root-SR8cQa .topSectionPlaying-1J5E4n .supporter-Z3FfwL.hasBadge-4rT8_u .badge-7R_W3s,
|
||||
.userPopout-3XzG_A .headerPlaying-j0WQBV .supporter-Z3FfwL.hasBadge-4rT8_u .badge-7R_W3s {
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
width: 30% !important;
|
||||
height: 30% !important;
|
||||
top: 74% !important;
|
||||
left: 1% !important;
|
||||
left: 1.5% !important;
|
||||
}
|
||||
.root-SR8cQa .topSectionPlaying-1J5E4n .dev-A7f2Rx.hasBadge-4rT8_u .badge-7R_W3s,
|
||||
.userPopout-3XzG_A .headerPlaying-j0WQBV .dev-A7f2Rx.hasBadge-4rT8_u .badge-7R_W3s {
|
||||
|
|
Loading…
Reference in New Issue