diff --git a/Plugins/PluginRepo/PluginRepo.plugin.js b/Plugins/PluginRepo/PluginRepo.plugin.js index 7bb8c0d129..189e01c29c 100644 --- a/Plugins/PluginRepo/PluginRepo.plugin.js +++ b/Plugins/PluginRepo/PluginRepo.plugin.js @@ -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); diff --git a/Plugins/ThemeRepo/ThemeRepo.plugin.js b/Plugins/ThemeRepo/ThemeRepo.plugin.js index de5038066d..0574713708 100644 --- a/Plugins/ThemeRepo/ThemeRepo.plugin.js +++ b/Plugins/ThemeRepo/ThemeRepo.plugin.js @@ -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); diff --git a/Themes/BlurpleRecolor/BlurpleRecolor.css b/Themes/BlurpleRecolor/BlurpleRecolor.css index 1484948a35..279924e6f3 100644 --- a/Themes/BlurpleRecolor/BlurpleRecolor.css +++ b/Themes/BlurpleRecolor/BlurpleRecolor.css @@ -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;