stuff
This commit is contained in:
parent
9c91a909a2
commit
2688bbe4c7
|
@ -3,7 +3,7 @@
|
|||
class BadgesEverywhere {
|
||||
getName () {return "BadgesEverywhere";}
|
||||
|
||||
getVersion () {return "1.4.2";}
|
||||
getVersion () {return "1.4.3";}
|
||||
|
||||
getAuthor () {return "DevilBro";}
|
||||
|
||||
|
@ -11,11 +11,11 @@ class BadgesEverywhere {
|
|||
|
||||
initConstructor () {
|
||||
this.changelog = {
|
||||
"fixed":[["Shifting","Resized badges to stop the username from shifting so much"]]
|
||||
"fixed":[["DM Groups","Now works properly in DM Groups"]]
|
||||
};
|
||||
|
||||
this.patchModules = {
|
||||
"ChannelMember":"componentDidMount",
|
||||
"MemberListItem":"componentDidMount",
|
||||
"MessageUsername":"componentDidMount",
|
||||
"UserPopout":"componentDidMount",
|
||||
"StandardSidebarView":"componentWillUnmount"
|
||||
|
@ -221,7 +221,7 @@ class BadgesEverywhere {
|
|||
|
||||
// begin of own functions
|
||||
|
||||
processChannelMember (instance, wrapper) {
|
||||
processMemberListItem (instance, wrapper) {
|
||||
if (instance.props && BDFDB.getData("showInMemberList", this, "settings")) this.addBadges(instance.props.user, wrapper.querySelector(BDFDB.dotCN.nametag), "list");
|
||||
}
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
class OwnerTag {
|
||||
getName () {return "OwnerTag";}
|
||||
|
||||
getVersion () {return "1.1.5";}
|
||||
getVersion () {return "1.1.6";}
|
||||
|
||||
getAuthor () {return "DevilBro";}
|
||||
|
||||
|
@ -11,11 +11,11 @@ class OwnerTag {
|
|||
|
||||
initConstructor () {
|
||||
this.changelog = {
|
||||
"fixed":[["Coloring issues","Fixed some coloring issues with inverted tags"]]
|
||||
"fixed":[["DM Groups","Now works properly in DM Groups"]]
|
||||
};
|
||||
|
||||
this.patchModules = {
|
||||
"ChannelMember":["componentDidMount","componentDidUpdate"],
|
||||
"MemberListItem":["componentDidMount","componentDidUpdate"],
|
||||
"MessageUsername":["componentDidMount","componentDidUpdate"],
|
||||
"UserPopout":["componentDidMount","componentDidUpdate"],
|
||||
"UserProfile":["componentDidMount","componentDidUpdate"],
|
||||
|
@ -144,7 +144,7 @@ class OwnerTag {
|
|||
this.SettingsUpdated = true;
|
||||
}
|
||||
|
||||
processChannelMember (instance, wrapper) {
|
||||
processMemberListItem (instance, wrapper) {
|
||||
if (instance.props && BDFDB.getData("addInMemberList", this, "settings")) this.addOwnerTag(instance.props.user, null, wrapper.querySelector(BDFDB.dotCN.nametag), "list", BDFDB.disCN.bottagnametag, null);
|
||||
}
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
class RemoveNicknames {
|
||||
getName () {return "RemoveNicknames";}
|
||||
|
||||
getVersion () {return "1.2.3";}
|
||||
getVersion () {return "1.2.4";}
|
||||
|
||||
getAuthor () {return "DevilBro";}
|
||||
|
||||
|
@ -11,11 +11,11 @@ class RemoveNicknames {
|
|||
|
||||
initConstructor () {
|
||||
this.changelog = {
|
||||
"fixed":[["New Structure","Fixed issues that will occur once the avatar/name changes from canary will hit stable/ptb"]]
|
||||
"fixed":[["DM Groups","Now works properly in DM Groups"]]
|
||||
};
|
||||
|
||||
this.patchModules = {
|
||||
"ChannelMember":"componentDidMount",
|
||||
"MemberListItem":"componentDidMount",
|
||||
"MessageUsername":"componentDidMount",
|
||||
"TypingUsers":"componentDidUpdate",
|
||||
"Clickable":"componentDidMount",
|
||||
|
@ -126,7 +126,7 @@ class RemoveNicknames {
|
|||
return settings.addNickname ? (settings.swapPositions ? (member.nick + " (" + username + ")") : (username + " (" + member.nick + ")")) : username;
|
||||
}
|
||||
|
||||
processChannelMember (instance, wrapper) {
|
||||
processMemberListItem (instance, wrapper) {
|
||||
let user = BDFDB.getReactValue(instance, "props.user");
|
||||
if (user) {
|
||||
let username = wrapper.querySelector(BDFDB.dotCN.memberusername);
|
||||
|
|
|
@ -11,11 +11,11 @@ class TopRoleEverywhere {
|
|||
|
||||
initConstructor () {
|
||||
this.changelog = {
|
||||
"fixed":[["Overflow","Long role names now properly overflow with overflow ellipsis .... AGAIN"],["Themes","Fixed issues for themes that abuse !important"]]
|
||||
"fixed":[["DM Groups","Now works properly in DM Groups"]]
|
||||
};
|
||||
|
||||
this.patchModules = {
|
||||
"ChannelMember":"componentDidMount",
|
||||
"MemberListItem":"componentDidMount",
|
||||
"MessageUsername":"componentDidMount",
|
||||
"StandardSidebarView":"componentWillUnmount"
|
||||
};
|
||||
|
@ -124,7 +124,7 @@ class TopRoleEverywhere {
|
|||
|
||||
// begin of own functions
|
||||
|
||||
processChannelMember (instance, wrapper) {
|
||||
processMemberListItem (instance, wrapper) {
|
||||
if (instance.props && BDFDB.getData("showInMemberList", this, "settings")) {
|
||||
this.addRoleTag(instance.props.user, wrapper.querySelector(BDFDB.dotCN.memberusername), "list", BDFDB.disCN.bottagnametag);
|
||||
}
|
||||
|
|
|
@ -170,6 +170,7 @@
|
|||
}
|
||||
|
||||
/* TOOLTIP / POPOUT */
|
||||
.content-N9xlZF,
|
||||
.tooltip-2QfLtc.tooltipBrand-g03Nz8:not(.tooltip-customcolor),
|
||||
.tooltip-1OS-Ti.brand-3tBTjG:not(.tooltip-customcolor) {
|
||||
color: rgb(255,255,255) !important;
|
||||
|
@ -178,6 +179,7 @@
|
|||
.tooltip-1OS-Ti.right-KM_vfY.brand-3tBTjG:not(.tooltip-customcolor):after {
|
||||
border-right-color: rgb(var(--vaccentcolor)) !important;
|
||||
}
|
||||
.pointer-2Cnz1N,
|
||||
.popoutTopRight-3BzFIE.arrowAlignmentTop-iGQczz:before,
|
||||
.popoutRight-2ZVwL-.arrowAlignmentTop-iGQczz:before,
|
||||
.tooltip-2QfLtc.tooltipBrand-g03Nz8:not(.tooltip-customcolor) .tooltipPointer-3ZfirK,
|
||||
|
@ -408,6 +410,7 @@
|
|||
.theme-light .premiumPlanName-24zBVw,
|
||||
.theme-light .headerIcon-3bqya6,
|
||||
.theme-light .container-2mdxGH,
|
||||
.content-N9xlZF .button-1ZJXz,
|
||||
.wrapper-3WhCwL,
|
||||
.foreground-2EIns2,
|
||||
.durationThumbnail-2_vk0i,
|
||||
|
|
Loading…
Reference in New Issue