stuff
This commit is contained in:
parent
a281a72d9f
commit
0f75f0f00d
|
@ -1146,6 +1146,7 @@
|
||||||
AppView: "appcontainer",
|
AppView: "appcontainer",
|
||||||
AuthWrapper: "loginscreen",
|
AuthWrapper: "loginscreen",
|
||||||
BannedCard: "guildsettingsbannedcard",
|
BannedCard: "guildsettingsbannedcard",
|
||||||
|
ChannelCall: "callcurrentcontainer",
|
||||||
ChannelMember: "member",
|
ChannelMember: "member",
|
||||||
ChannelTextAreaForm: "chatform",
|
ChannelTextAreaForm: "chatform",
|
||||||
ChannelWindow: "chatcontent",
|
ChannelWindow: "chatcontent",
|
||||||
|
@ -9168,7 +9169,7 @@
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
InternalBDFDB.processV2CPluginCard = function (e) {InternalBDFDB._processCard(e, e.instance.props.addon && e.instance.props.addon.plugin);};
|
InternalBDFDB.processV2CPluginCard = function (e) {InternalBDFDB._processCard(e, e.instance.props.addon && e.instance.props.addon.plugin);};
|
||||||
InternalBDFDB.processV2CThemeCard = function (e) {InternalBDFDB._processCard(e, e.instance.props.addon);};
|
InternalBDFDB.processV2CThemeCard = function (e) {InternalBDFDB._processCard(e, e.instance.props.addon && !e.instance.props.addon.plugin && e.instance.props.addon.css);};
|
||||||
|
|
||||||
InternalBDFDB.createLibrarySettings = function () {
|
InternalBDFDB.createLibrarySettings = function () {
|
||||||
if (!window.BDFDB || typeof BDFDB != "object" || !BDFDB.loaded) return;
|
if (!window.BDFDB || typeof BDFDB != "object" || !BDFDB.loaded) return;
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -4,7 +4,7 @@ var EditUsers = (_ => {
|
||||||
return class EditUsers {
|
return class EditUsers {
|
||||||
getName () {return "EditUsers";}
|
getName () {return "EditUsers";}
|
||||||
|
|
||||||
getVersion () {return "3.8.1";}
|
getVersion () {return "3.8.2";}
|
||||||
|
|
||||||
getAuthor () {return "DevilBro";}
|
getAuthor () {return "DevilBro";}
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ var EditUsers = (_ => {
|
||||||
|
|
||||||
constructor () {
|
constructor () {
|
||||||
this.changelog = {
|
this.changelog = {
|
||||||
"fixed":[["Messages Popout","Now works in popouts like the recent mentions popout"]]
|
"fixed":[["DM Call","Works again in private calls"]]
|
||||||
};
|
};
|
||||||
|
|
||||||
this.patchedModules = {
|
this.patchedModules = {
|
||||||
|
@ -42,6 +42,7 @@ var EditUsers = (_ => {
|
||||||
SearchPopoutComponent: "render",
|
SearchPopoutComponent: "render",
|
||||||
IncomingCall: "render",
|
IncomingCall: "render",
|
||||||
PrivateChannelCallParticipants: "render",
|
PrivateChannelCallParticipants: "render",
|
||||||
|
ChannelCall: "render",
|
||||||
VideoTile: "render",
|
VideoTile: "render",
|
||||||
UserSummaryItem: "render"
|
UserSummaryItem: "render"
|
||||||
},
|
},
|
||||||
|
@ -762,6 +763,13 @@ var EditUsers = (_ => {
|
||||||
for (let participant of e.instance.props.participants) if (participant && participant.user) participant.user = this.getUserData(participant.user.id);
|
for (let participant of e.instance.props.participants) if (participant && participant.user) participant.user = this.getUserData(participant.user.id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
processChannelCall (e) {
|
||||||
|
if (BDFDB.ArrayUtils.is(e.instance.props.participants) && BDFDB.DataUtils.get(this, "settings", "changeInDmCalls")) {
|
||||||
|
for (let participant of e.instance.props.participants) if (participant && participant.user) participant.user = this.getUserData(participant.user.id);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
processVideoTile (e) {
|
processVideoTile (e) {
|
||||||
if (e.instance.props.user && BDFDB.DataUtils.get(this, "settings", "changeInDmCalls")) e.instance.props.user = this.getUserData(e.instance.props.user.id);
|
if (e.instance.props.user && BDFDB.DataUtils.get(this, "settings", "changeInDmCalls")) e.instance.props.user = this.getUserData(e.instance.props.user.id);
|
||||||
}
|
}
|
||||||
|
|
|
@ -68,7 +68,7 @@ var ThemeSettings = (_ => {
|
||||||
// begin of own functions
|
// begin of own functions
|
||||||
|
|
||||||
processV2CThemeCard (e) {
|
processV2CThemeCard (e) {
|
||||||
if (e.instance.props.addon && !e.instance.state.settings) {
|
if (e.instance.props.addon && e.instance.props.addon.css && !e.instance.state.settings) {
|
||||||
let vars = this.getThemeVars(e.instance.props.addon.css);
|
let vars = this.getThemeVars(e.instance.props.addon.css);
|
||||||
if (vars.length) {
|
if (vars.length) {
|
||||||
let [children, index] = BDFDB.ReactUtils.findChildren(e.returnvalue, {props: [["className", BDFDB.disCN._repofooter]]});
|
let [children, index] = BDFDB.ReactUtils.findChildren(e.returnvalue, {props: [["className", BDFDB.disCN._repofooter]]});
|
||||||
|
|
|
@ -1517,9 +1517,12 @@ body:before {
|
||||||
color: rgb(var(--fontwhite3));
|
color: rgb(var(--fontwhite3));
|
||||||
}
|
}
|
||||||
|
|
||||||
#app-mount .wrapper-29NfPK { /* call wrapper */
|
#app-mount .wrapper-KXM2i0 { /* call wrapper */
|
||||||
background-color: rgba(var(--vtransparencycolor), calc(var(--vguildchanneltransparency) * 0.8));
|
background-color: rgba(var(--vtransparencycolor), calc(var(--vguildchanneltransparency) * 0.8));
|
||||||
}
|
}
|
||||||
|
#app-mount .root-3B6O5N { /* call root */
|
||||||
|
color: rgb(var(--fontwhite1));
|
||||||
|
}
|
||||||
#app-mount .video-1FfuMD { /* call video */
|
#app-mount .video-1FfuMD { /* call video */
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue