stuff
This commit is contained in:
parent
baa77a7c97
commit
12e4d22f29
|
@ -3,13 +3,17 @@
|
|||
class PluginRepo {
|
||||
getName () {return "PluginRepo";}
|
||||
|
||||
getVersion () {return "1.7.3";}
|
||||
getVersion () {return "1.7.4";}
|
||||
|
||||
getAuthor () {return "DevilBro";}
|
||||
|
||||
getDescription () {return "Allows you to look at all plugins from the plugin repo and download them on the fly. Repo button is in the plugins settings.";}
|
||||
|
||||
initConstructor () {
|
||||
this.changelog = {
|
||||
"fixed":[["BDContextMenu","Fixed compatibility with the newest version of BDContextMenu"]]
|
||||
};
|
||||
|
||||
this.patchModules = {
|
||||
"V2C_List":"componentDidMount"
|
||||
};
|
||||
|
@ -318,8 +322,7 @@ class PluginRepo {
|
|||
let observer = new MutationObserver(changes => {
|
||||
changes.forEach(change => {
|
||||
if (change.addedNodes) change.addedNodes.forEach(node => {
|
||||
if (node.tagName && BDFDB.containsClass(node, "plugin-context-menu") && !node.querySelector(".pluginrepo-item")) {
|
||||
observer.disconnect();
|
||||
if (node.tagName && BDFDB.containsClass(node, BDFDB.disCN.contextmenu) && BDFDB.getReactValue(node, "return.return.return.memoizedProps.label") == "BandagedBD" && !node.querySelector(".pluginrepo-item")) {
|
||||
let item = node.querySelectorAll(BDFDB.dotCN.contextmenuitem);
|
||||
item = item[item.length-1];
|
||||
var settingsContextEntry = BDFDB.htmlToElement(this.settingsContextEntryMarkup);
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
class ThemeRepo {
|
||||
getName () {return "ThemeRepo";}
|
||||
|
||||
getVersion () {return "1.7.3";}
|
||||
getVersion () {return "1.7.4";}
|
||||
|
||||
getAuthor () {return "DevilBro";}
|
||||
|
||||
|
@ -11,7 +11,7 @@ class ThemeRepo {
|
|||
|
||||
initConstructor () {
|
||||
this.changelog = {
|
||||
"fixed":[["DiscordPreview","Fixed the issue where the titlebar would overlap with the titlebar in the fake preview"]]
|
||||
"fixed":[["BDContextMenu","Fixed compatibility with the newest version of BDContextMenu"]]
|
||||
};
|
||||
|
||||
this.patchModules = {
|
||||
|
@ -380,8 +380,7 @@ class ThemeRepo {
|
|||
let observer = new MutationObserver(changes => {
|
||||
changes.forEach(change => {
|
||||
if (change.addedNodes) change.addedNodes.forEach(node => {
|
||||
if (node.tagName && BDFDB.containsClass(node, "plugin-context-menu") && !node.querySelector(".themerepo-item")) {
|
||||
observer.disconnect();
|
||||
if (node.tagName && BDFDB.containsClass(node, BDFDB.disCN.contextmenu) && BDFDB.getReactValue(node, "return.return.return.memoizedProps.label") == "BandagedBD" && !node.querySelector(".themerepo-item")) {
|
||||
let item = node.querySelectorAll(BDFDB.dotCN.contextmenuitem);
|
||||
item = item[item.length-1];
|
||||
var settingsContextEntry = BDFDB.htmlToElement(this.settingsContextEntryMarkup);
|
||||
|
|
|
@ -818,6 +818,8 @@ a {
|
|||
[style*="/assets/f046e2247d730629309457e902d5c5b3.svg"]:before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: rgb(var(--vaccentcolor)) !important;
|
||||
|
|
Loading…
Reference in New Issue