stuff
This commit is contained in:
parent
5df50215c9
commit
b31d1d850b
|
@ -1647,7 +1647,7 @@
|
|||
return false;
|
||||
};
|
||||
InternalBDFDB.patch_CheckForInstance = function (pluginData, classNames, type, forceObserve) {
|
||||
const app = document.querySelector(BDFDB.dotCN.app), bdSettings = document.querySelector("#bd-settingspane-container " + BDFDB.dotCN.scrollerwrap);
|
||||
const app = document.querySelector(BDFDB.dotCN.app), bdSettings = document.querySelector("#bd-settingspane-container .scroller");
|
||||
let instanceFound = false;
|
||||
if (!forceObserve) {
|
||||
if (app) {
|
||||
|
@ -4247,8 +4247,8 @@
|
|||
bdaAuthor: "bd-author author bda-author",
|
||||
bdaControls: "bd-controls bd-addon-controls bda-controls",
|
||||
bdaControlsButton: "bd-addon-button",
|
||||
bdaDescription: "bd-description bd-addon-description bda-description",
|
||||
bdaDescriptionWrap: "bd-description-wrap bda-description-wrap",
|
||||
bdaDescription: "bd-scroller bd-description bd-addon-description bda-description scroller",
|
||||
bdaDescriptionWrap: "bd-scroller-wrap bd-description-wrap bda-description-wrap scroller-wrap fade",
|
||||
bdaFooter: "bd-footer bd-card-footer bda-footer",
|
||||
bdaHeader: "bd-addon-header bda-header",
|
||||
bdaHeaderTitle: "bd-title bd-card-title bda-header-title",
|
||||
|
@ -4639,7 +4639,6 @@
|
|||
DiscordClassModules.Role = BDFDB.ModuleUtils.findByProperties("roleCircle", "roleName", "roleRemoveIcon");
|
||||
DiscordClassModules.Scrollbar = BDFDB.ModuleUtils.findByProperties("scrollbar", "scrollbarGhost");
|
||||
DiscordClassModules.Scroller = BDFDB.ModuleUtils.findByProperties("scrollerBase", "none", "fade");
|
||||
DiscordClassModules.ScrollerOld = BDFDB.ModuleUtils.findByProperties("scrollerThemed", "scroller");
|
||||
DiscordClassModules.SearchBar = BDFDB.ModuleUtils.findByProperties("clear", "container", "pointer");
|
||||
DiscordClassModules.SearchPopout = BDFDB.ModuleUtils.findByProperties("datePicker", "searchResultChannelIconBackground");
|
||||
DiscordClassModules.SearchPopoutWrap = BDFDB.ModuleUtils.findByProperties("container", "queryContainer");
|
||||
|
@ -5857,7 +5856,6 @@
|
|||
scrollbardefault: ["Scrollbar", "scrollbarDefault"],
|
||||
scrollbarghost: ["Scrollbar", "scrollbarGhost"],
|
||||
scrollbarghosthairline: ["Scrollbar", "scrollbarGhostHairline"],
|
||||
scroller: ["ScrollerOld", "scroller"],
|
||||
scrollerbase: ["Scroller", "scrollerBase"],
|
||||
scrollerbaseauto: ["Scroller", "auto"],
|
||||
scrollerbasefade: ["Scroller", "fade"],
|
||||
|
@ -5865,14 +5863,6 @@
|
|||
scrollerbasenone: ["Scroller", "none"],
|
||||
scrollerbasescrolling: ["Scroller", "scrolling"],
|
||||
scrollerbasethin: ["Scroller", "thin"],
|
||||
scrollerfade: ["ScrollerOld", "scrollerFade"],
|
||||
scrollersystempad: ["ScrollerOld", "systemPad"],
|
||||
scrollerthemed: ["ScrollerOld", "scrollerThemed"],
|
||||
scrollerthemedwithtrack: ["ScrollerOld", "themedWithTrack"],
|
||||
scrollerthemeghost: ["ScrollerOld", "themeGhost"],
|
||||
scrollerthemeghosthairline: ["ScrollerOld", "themeGhostHairline"],
|
||||
scrollerthemeghosthairlinechannels: ["ScrollerOld", "themeGhostHairlineChannels"],
|
||||
scrollerwrap: ["ScrollerOld", "scrollerWrap"],
|
||||
searchbar: ["SearchBar", "container"],
|
||||
searchbarclear: ["SearchBar", "clear"],
|
||||
searchbarclose: ["SearchBar", "close"],
|
||||
|
@ -7126,10 +7116,12 @@
|
|||
})
|
||||
]
|
||||
}),
|
||||
BDFDB.ReactUtils.createElement(InternalComponents.LibraryComponents.ScrollerVertical, {
|
||||
outerClassName: BDFDB.disCN._repodescriptionwrap,
|
||||
className: BDFDB.disCN._repodescription,
|
||||
children: this.props.data.description
|
||||
BDFDB.ReactUtils.createElement("div", {
|
||||
className: BDFDB.disCN._repodescription + " scroller",
|
||||
children: BDFDB.ReactUtils.createElement("div", {
|
||||
className: BDFDB.disCN._repodescription + " scroller",
|
||||
children: this.props.data.description
|
||||
})
|
||||
}),
|
||||
BDFDB.ReactUtils.createElement("div", {
|
||||
className: BDFDB.disCN._repofooter,
|
||||
|
@ -8742,8 +8734,6 @@
|
|||
InternalComponents.LibraryComponents.ScrollerNone = AdvancedScrollers.AdvancedScrollerNone || AdvancedScrollers.default;
|
||||
InternalComponents.LibraryComponents.ScrollerThin = AdvancedScrollers.AdvancedScrollerThin || AdvancedScrollers.default;
|
||||
|
||||
InternalComponents.LibraryComponents.ScrollerVertical = BDFDB.ModuleUtils.findByName("VerticalScroller");
|
||||
|
||||
InternalComponents.LibraryComponents.SearchBar = InternalBDFDB.loadPatchedComp("SearchBar") || reactInitialized && class BDFDB_SearchBar extends LibraryModules.React.Component {
|
||||
handleChange(query) {
|
||||
this.props.query = query;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -15,7 +15,6 @@ body,
|
|||
#app-mount REPLACE_CLASS_peoples,
|
||||
#app-mount REPLACE_CLASS_nitrostore,
|
||||
#app-mount REPLACE_CLASS_guilddiscovery,
|
||||
#app-mount REPLACE_CLASS_scroller,
|
||||
#app-mount REPLACE_CLASS_scrollerbase,
|
||||
#app-mount REPLACE_CLASS_settingswindowstandardsidebarview,
|
||||
#app-mount REPLACE_CLASS_settingswindowcontentregion {
|
||||
|
|
|
@ -177,8 +177,7 @@ body, /* body */
|
|||
#app-mount .container-1D34oG, /* peoples */
|
||||
#app-mount .applicationStore-1pNvnv, /* nitro */
|
||||
#app-mount .pageWrapper-1PgVDX, /* guilddiscovery */
|
||||
#app-mount .scroller-2FKFPG, /* scroller */
|
||||
#app-mount .scrollerBase-289Jih, /* advanced scroller */
|
||||
#app-mount .scrollerBase-289Jih, /* scroller */
|
||||
#app-mount .standardSidebarView-3F1I7i, /* settings */
|
||||
#app-mount .contentRegion-3nDuYy { /* settings content */
|
||||
background: transparent;
|
||||
|
@ -6267,9 +6266,7 @@ img[src="/assets/e8b66317ab0dc9ba3bf8d41a4f3ec914.png"] { /* videosettings opus
|
|||
width: 8px;
|
||||
height: 8px;
|
||||
}
|
||||
#app-mount .scroller-3vODG7::-webkit-scrollbar,
|
||||
#app-mount #bda-qem-twitch-container .scroller-2FKFPG::-webkit-scrollbar,
|
||||
#app-mount #bda-qem-favourite-container .scroller-2FKFPG::-webkit-scrollbar {
|
||||
#app-mount .scroller-3vODG7::-webkit-scrollbar {
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
}
|
||||
|
@ -6298,10 +6295,6 @@ img[src="/assets/e8b66317ab0dc9ba3bf8d41a4f3ec914.png"] { /* videosettings opus
|
|||
#app-mount ::-webkit-scrollbar-corner {
|
||||
visibility: hidden;
|
||||
}
|
||||
.scrollerThemed-2oenus.themeHidden-2yP93k .scroller-2FKFPG::-webkit-scrollbar-corner,
|
||||
.scrollerThemed-2oenus.themeHidden-2yP93k .scroller-2FKFPG::-webkit-scrollbar-thumb,
|
||||
.scrollerThemed-2oenus.themeHidden-2yP93k .scroller-2FKFPG::-webkit-scrollbar-track,
|
||||
.scrollerThemed-2oenus.themeHidden-2yP93k .scroller-2FKFPG::-webkit-scrollbar,
|
||||
.none-2Eo-qx::-webkit-scrollbar-corner,
|
||||
.none-2Eo-qx::-webkit-scrollbar-thumb,
|
||||
.none-2Eo-qx::-webkit-scrollbar-track,
|
||||
|
|
Loading…
Reference in New Issue