From 017787189f9db8075bf75d705d9e9b231c3f43f7 Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Tue, 5 Feb 2019 13:01:32 +0100 Subject: [PATCH] preview --- Plugins/ThemeRepo/ThemeRepo.plugin.js | 7 ++++++- Plugins/ThemeRepo/res/DiscordPreview.html | 6 +++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/Plugins/ThemeRepo/ThemeRepo.plugin.js b/Plugins/ThemeRepo/ThemeRepo.plugin.js index e6b13271c3..e3fc2ffd1d 100644 --- a/Plugins/ThemeRepo/ThemeRepo.plugin.js +++ b/Plugins/ThemeRepo/ThemeRepo.plugin.js @@ -3,13 +3,17 @@ class ThemeRepo { getName () {return "ThemeRepo";} - getVersion () {return "1.7.1";} + getVersion () {return "1.7.2";} getAuthor () {return "DevilBro";} getDescription () {return "Allows you to preview all themes from the theme repo and download them on the fly. Repo button is in the theme settings.";} initConstructor () { + this.changelog = { + "fixed":[["DiscordPreview","Fixed the issue where the titlebar would overlap with the titlebar in the fake preview"]] + }; + this.patchModules = { "V2C_List":"componentDidMount" }; @@ -259,6 +263,7 @@ class ThemeRepo { position: absolute !important; top: 0 !important; } + .discordPreview ~ ${BDFDB.dotCNS.appmount + BDFDB.dotCN.titlebar}, .discordPreview ~ ${BDFDB.dotCNS.appmount + BDFDB.dotCN.app} { opacity: 0 !important; visibility: hidden !important; diff --git a/Plugins/ThemeRepo/res/DiscordPreview.html b/Plugins/ThemeRepo/res/DiscordPreview.html index fca9fd23d3..318ab34380 100644 --- a/Plugins/ThemeRepo/res/DiscordPreview.html +++ b/Plugins/ThemeRepo/res/DiscordPreview.html @@ -10,17 +10,17 @@ -
+
-
+
-
+