This commit is contained in:
Mirco Wittrien 2020-08-29 10:46:50 +02:00
parent b6dc3ccaf7
commit 1c8afde304
2 changed files with 4 additions and 4 deletions

View File

@ -356,7 +356,7 @@ var ThemeRepo = (_ => {
label: "Download generated Theme",
children: "Download",
onClick: _ => {
_this.createThemeFile(this.props.currentGenerator.name + ".theme.css", _this.generateTheme(this.props.currentGenerator, this.props.generatorValues));
if (loadedThemes[this.props.currentGenerator]) _this.createThemeFile(loadedThemes[this.props.currentGenerator].name + ".theme.css", _this.generateTheme(loadedThemes[this.props.currentGenerator], this.props.generatorValues));
}
}),
BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.FormComponents.FormDivider, {
@ -631,7 +631,7 @@ var ThemeRepo = (_ => {
return class ThemeRepo {
getName () {return "ThemeRepo";}
getVersion () {return "2.0.4";}
getVersion () {return "2.0.5";}
getAuthor () {return "DevilBro";}
@ -639,7 +639,7 @@ var ThemeRepo = (_ => {
constructor () {
this.changelog = {
"improved":[["Inbuilt Repo","The theme repo no longer opens a modal to display the repo, instead the list is rendered in the settings window"]]
"fixed":[["Generator","Theme Generator works again"]]
};
this.patchedModules = {

View File

@ -1,6 +1,6 @@
//META{"name":"BasicBackground","description":"Allows you to use a background image in Discord without greatly altering the basic look of Discord.","author":"DevilBro","version":"1.0.5","authorId":"278543574059057154","invite":"Jx3TjNS","donate":"https://www.paypal.me/MircoWittrien","patreon":"https://www.patreon.com/MircoWittrien","website":"https://github.com/mwittrien/BetterDiscordAddons/tree/master/Themes/BasicBackground","source":"https://raw.githubusercontent.com/mwittrien/BetterDiscordAddons/master/Themes/BasicBackground/BasicBackground.theme.css"}*//{}
/* To change stuff like the colors, transparency and background image, change the variables inside the :root {}, do NOT change he @import url() */
/* To change stuff like the colors, transparency and background image, change the variables inside the root {}, do NOT change the @import url() */
@import url(https://mwittrien.github.io/BetterDiscordAddons/Themes/BasicBackground/BasicBackground.css);