This commit is contained in:
Mirco Wittrien 2020-04-19 11:51:11 +02:00
parent b1dfc10017
commit 562093d3ae
4 changed files with 13 additions and 7 deletions

View File

@ -1183,7 +1183,6 @@
V2C_ThemeCard: "_repocard"
};
WebModulesData.CodeFinder = {
MessageAttachment: ["Types.ATTACHMENT", "default.hiddenSpoilers", "default.inline"]
};
WebModulesData.PropsFinder = {
MessageHeader: "MessageTimestamp",
@ -4149,6 +4148,9 @@
charCounter: "charCounter-7fw40k charcounter",
counterAdded: "counterAdded-zz9O4t"
};
DiscordClassModules.DisplayLargeMessages = {
injectButton: "injectButton-8eKqGu"
};
DiscordClassModules.DisplayServersAsChannels = {
badge: "badge-fxFrUP",
name: "name-z5133D",
@ -4489,6 +4491,7 @@
_chatfiltercensoredstamp: ["ChatFilter", "censoredStamp"],
_charcountercounter: ["CharCounter", "charCounter"],
_charcountercounteradded: ["CharCounter", "counterAdded"],
_displaylargemessagesinjectbutton: ["DisplayLargeMessages", "injectButton"],
_displayserversaschannelsbadge: ["DisplayServersAsChannels", "badge"],
_displayserversaschannelsname: ["DisplayServersAsChannels", "name"],
_displayserversaschannelsstyled: ["DisplayServersAsChannels", "styled"],
@ -8037,6 +8040,9 @@
},
icon: `<svg name="Pin" aria-hidden="false" width="%%width" height="%%height" viewBox="0 0 24 24"><g fill="none" fill-rule="evenodd"><path fill="%%color" d="M19 3H5V5H7V12H5V14H11V22H13V14H19V12H17V5H19V3Z"></path></g></svg>`
},
RAW_TEXT: {
icon: `<svg name="RawText" aria-hidden="false" width="%%width" height="%%height" viewBox="0 0 24 24"><path fill="%%color" d="m 8.22,4.11 h 2.74 v 1.37 h 2.74 V 1.37 H 0 v 4.11 h 2.74 v -1.37 H 5.48 V 17.82 H 2.74 v 2.74 h 8.22 v -2.74 H 8.22 Z"></path><path fill="%%color" d="m 10.96,8.22 v 4.11 h 2.74 v -1.37 h 1.37 v 6.85 h -1.37 v 2.74 h 5.48 v -2.74 h -1.37 v -6.85 h 1.37 v 1.37 h 2.74 V 8.22 H 10.96 Z"</path></svg>`
},
RIGHT_CARET: {
icon: `<svg name="RightCaret" aria-hidden="false" width="%%width" height="%%height" viewBox="0 0 24 24"><g fill="none" fill-rule="evenodd"><polygon fill="%%color" fill-rule="nonzero" points="8.47 2 6.12 4.35 13.753 12 6.12 19.65 8.47 22 18.47 12"></polygon><polygon points="0 0 24 0 24 24 0 24"></polygon></g></svg>`
},

File diff suppressed because one or more lines are too long

View File

@ -37,7 +37,7 @@ var ServerFolders = (_ => {
this.props.closing = true;
BDFDB.ReactUtils.forceUpdate(this);
}, 300);
return BDFDB.ReactUtils.createElement("div", {
return BDFDB.ReactUtils.createElement("nav", {
className: BDFDB.DOMUtils.formatClassName(BDFDB.disCN.guildswrapper, BDFDB.disCN.guilds, this.props.themeOverride && BDFDB.disCN.themedark, BDFDB.disCN._serverfoldersfoldercontent, (!folders.length || closing) && BDFDB.disCN._serverfoldersfoldercontentclosed),
children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.ScrollerVertical, {
outerClassName: BDFDB.disCN.guildsscrollerwrap,

View File

@ -1200,7 +1200,7 @@
</div>
</section>
<div class="REPLACE_CLASS_chat">
<div class="REPLACE_CLASS_channelheadertitle REPLACE_CLASS_channelheaderheaderbar REPLACE_CLASS_channelheaderheaderbarthemed">
<section class="REPLACE_CLASS_channelheadertitle REPLACE_CLASS_channelheaderheaderbar REPLACE_CLASS_channelheaderheaderbarthemed">
<div class="REPLACE_CLASS_channelheaderchildren">
<div class="REPLACE_CLASS_channelheadericonwrapper">
<svg width="24" height="24" viewBox="0 0 24 24" class="REPLACE_CLASS_channelheadericon">
@ -1283,9 +1283,9 @@
</div>
</a>
</div>
</div>
</section>
<div class="REPLACE_CLASS_chatinner">
<div class="REPLACE_CLASS_chatcontent">
<main class="REPLACE_CLASS_chatcontent">
<div class="REPLACE_CLASS_messageswrapper group-spacing-16">
<div class="REPLACE_CLASS_messagebarnewmessagesbar">
<button type="button" class="REPLACE_CLASS_messagebarbuttonmain" aria-label="Jump to last unread message" aria-describedby="NewMessagesBarJumpToNewMessages_199">
@ -2058,7 +2058,7 @@
</div>
</form>
<div class="REPLACE_CLASS_itemlayercontainer"></div>
</div>
</main>
<div class="REPLACE_CLASS_memberswrap">
<div class="REPLACE_CLASS_scrollerwrap REPLACE_CLASS_scrollerthemed REPLACE_CLASS_scrollerthemeghosthairline REPLACE_CLASS_scrollerfade">
<div class="REPLACE_CLASS_scroller REPLACE_CLASS_scrollersystempad REPLACE_CLASS_members">