themelist

This commit is contained in:
Mirco Wittrien 2019-11-26 11:42:37 +01:00
parent 4ab46d6d14
commit 43910dc0eb
4 changed files with 10 additions and 4 deletions

View File

@ -8917,7 +8917,8 @@ var BDFDB = {
let newBadges = ["lowerLeftBadge", "upperLeftBadge"];
BDFDB.ModuleUtils.patch(BDFDB, LibraryComponents.GuildComponents.BlobMask.prototype, "render", {
before: e => {
for (let type of newBadges) e.thisObject.state[`${type}Mask`] = new LibraryComponents.Animations.Controller({spring: 0})
e.thisObject.props = Object.assign({}, LibraryComponents.GuildComponents.BlobMask.defaultProps, e.thisObject.props);
for (let type of newBadges) e.thisObject.state[`${type}Mask`] = new LibraryComponents.Animations.Controller({spring: 0});
},
after: e => {
let [children, index] = BDFDB.ReactUtils.findChildren(e.returnValue, {name: "TransitionGroup"});
@ -9016,7 +9017,9 @@ var BDFDB = {
})
}
};
InternalBDFDB.setDefaultProps(LibraryComponents.GuildComponents.BlobMask, {lowerLeftBadgeWidth:16, upperLeftBadgeWidth:16});
let extraDefaultProps = {};
for (let type of newBadges) extraDefaultProps[`${type}Width`] = 16;
InternalBDFDB.setDefaultProps(LibraryComponents.GuildComponents.BlobMask, extraDefaultProps);
}
BDFDB.ModuleUtils.patch(BDFDB, LibraryModules.GuildStore, "getGuild", {after: e => {

File diff suppressed because one or more lines are too long

View File

@ -183,5 +183,7 @@ https://raw.githubusercontent.com/samogot/betterdiscord-plugins/master/v1/quoter
https://raw.githubusercontent.com/TheDarkBomber/BD-Server-Themes/master/serverTheme.plugin.js
https://raw.githubusercontent.com/Zerthox/BetterDiscord-Plugins/master/v1/BetterFolders.plugin.js
https://raw.githubusercontent.com/Zerthox/BetterDiscord-Plugins/master/v1/BetterReplyer.plugin.js
https://raw.githubusercontent.com/Zerthox/BetterDiscord-Plugins/master/v1/Emulator.plugin.js
https://raw.githubusercontent.com/Zerthox/BetterDiscord-Plugins/master/v1/GuildSeparators.plugin.js
https://raw.githubusercontent.com/Zerthox/BetterDiscord-Plugins/master/v1/OnlineFriendCount.plugin.js
https://raw.githubusercontent.com/Zerthox/BetterDiscord-Plugins/master/v1/VoiceEvents.plugin.js

View File

@ -14,6 +14,7 @@ https://raw.githubusercontent.com/codedotspectra/themes/master/chemical/chemical
https://raw.githubusercontent.com/codedotspectra/themes/master/discorddark/discorddark.theme.css
https://raw.githubusercontent.com/codedotspectra/themes/master/neutron/neutronX.theme.css
https://raw.githubusercontent.com/codedotspectra/themes/master/nocturnal/nocturnal.theme.css
https://raw.githubusercontent.com/codedotspectra/themes/master/xeno/xeno.theme.css
https://raw.githubusercontent.com/CurimuChizu/CC-Themes/master/CC-Themes/Red.n.Black.theme.css
https://raw.githubusercontent.com/CurimuChizu/CC-Themes/master/CC-Themes/ReZero.theme.css
https://raw.githubusercontent.com/Dddsasul/TeamKappa-theme/master/ClearDiscord.theme.css
@ -39,7 +40,7 @@ https://raw.githubusercontent.com/HansAnonymous/BD-Themes-and-Plugins/master/The
https://raw.githubusercontent.com/HansAnonymous/BD-Themes-and-Plugins/master/Themes/Patriotic/Patriotic.theme.css
https://raw.githubusercontent.com/HighGuard/discord-popout-overhaul-theme/master/popoutOverhaul.theme.css
https://raw.githubusercontent.com/ImBastion/BD-Themes/master/Theme/DARLINGintheFRANXX.theme.css
https://raw.githubusercontent.com/ImBastion/BD-Themes/master/Theme/NieRDanceBase.theme.css
https://raw.githubusercontent.com/ImBastion/BD-Themes/master/Theme/NieRDance.theme.css
https://raw.githubusercontent.com/ImBastion/BD-Themes/master/Theme/NoA2Base.theme.css
https://raw.githubusercontent.com/ImBastion/BD-Themes/master/Theme/No2BBase.theme.css
https://raw.githubusercontent.com/Inve1951/BetterDiscordStuff/master/themes/compactUserList.theme.css