This commit is contained in:
Mirco Wittrien 2021-06-14 13:42:58 +02:00
parent 20dc033398
commit a0e03d99ae
2 changed files with 12 additions and 9 deletions

View File

@ -2,7 +2,7 @@
* @name EditUsers
* @author DevilBro
* @authorId 278543574059057154
* @version 4.3.1
* @version 4.3.2
* @description Allows you to locally edit Users
* @invite Jx3TjNS
* @donate https://www.paypal.me/MircoWittrien
@ -17,7 +17,7 @@ module.exports = (_ => {
"info": {
"name": "EditUsers",
"author": "DevilBro",
"version": "4.3.1",
"version": "4.3.2",
"description": "Allows you to locally edit Users"
},
"changeLog": {
@ -258,7 +258,8 @@ module.exports = (_ => {
}});
BDFDB.PatchUtils.patch(this, BDFDB.LibraryModules.StatusMetaUtils, "findActivity", {after: e => {
if (e.returnValue && changedUsers[e.methodArguments[0]] && e.returnValue.type === BDFDB.DiscordConstants.ActivityTypes.CUSTOM_STATUS) return this.createCustomStatus(changedUsers[e.methodArguments[0]]);
let data = e.returnValue && changedUsers[e.methodArguments[0]];
if (data && (data.removeStatus || data.status || data.statusEmoji) && e.returnValue.type === BDFDB.DiscordConstants.ActivityTypes.CUSTOM_STATUS) return this.createCustomStatus(changedUsers[e.methodArguments[0]]);
}});
this.forceUpdateAll();

View File

@ -2,7 +2,7 @@
* @name OldTitleBar
* @author DevilBro
* @authorId 278543574059057154
* @version 1.6.9
* @version 1.7.0
* @description Allows you to switch to Discord's old Titlebar
* @invite Jx3TjNS
* @donate https://www.paypal.me/MircoWittrien
@ -17,7 +17,7 @@ module.exports = (_ => {
"info": {
"name": "OldTitleBar",
"author": "DevilBro",
"version": "1.6.9",
"version": "1.7.0",
"description": "Allows you to switch to Discord's old Titlebar"
}
};
@ -89,16 +89,16 @@ module.exports = (_ => {
display: none !important;
}
.platform-osx ${BDFDB.dotCNS._oldtitlebarenabled + BDFDB.dotCN.guildswrapper} {
${BDFDB.dotCNS._oldtitlebarenabled + BDFDB.dotCN.guildswrapper} {
margin-top: 0;
padding-top: 0;
}
.platform-osx ${BDFDB.dotCNS._oldtitlebarenabled + BDFDB.dotCN.guildsscroller} {
${BDFDB.dotCNS._oldtitlebarenabled + BDFDB.dotCN.guildsscroller} {
padding-top: 4px;
}
.platform-osx ${BDFDB.dotCNS._oldtitlebarenabled + BDFDB.dotCN.settingswindowstandardsidebarview}:before {
${BDFDB.dotCNS._oldtitlebarenabled + BDFDB.dotCN.settingswindowstandardsidebarview}:before {
display: none;
}
@ -122,7 +122,9 @@ module.exports = (_ => {
border-radius: 0 0 0 5px;
}
${BDFDB.dotCN.channelheaderheaderbar} {
${BDFDB.dotCN.channelheaderheaderbar},
${BDFDB.dotCNS.channelheaderheaderbar + BDFDB.dotCN.channelheaderchildren},
${BDFDB.dotCNS.channelheaderheaderbar + BDFDB.dotCN.channelheadertoolbar} {
-webkit-app-region: drag !important;
}