diff --git a/less/character-sheet.less b/less/character-sheet.less index 895778a..d9d2147 100644 --- a/less/character-sheet.less +++ b/less/character-sheet.less @@ -545,7 +545,7 @@ margin-left: 50px; } - .movedescription { + .moveDescription { font-family: VT323; width: 620px; height: 520px; diff --git a/modules/sheets/pokemonCharacterSheet.js b/modules/sheets/pokemonCharacterSheet.js index 4bc305d..26c7004 100644 --- a/modules/sheets/pokemonCharacterSheet.js +++ b/modules/sheets/pokemonCharacterSheet.js @@ -79,15 +79,6 @@ export default class pokemonCharacterSheet extends api.HandlebarsApplicationMixi return context; } - /** @override */ - submit(submitOptions) { - console.log("Submit"); - - context.system.tab = this.tab; - - return super.submit(submitOptions); - } - /** @override */ _onRender(context, options) { this.tab = context.system.tab; @@ -101,6 +92,9 @@ export default class pokemonCharacterSheet extends api.HandlebarsApplicationMixi tabs.callback = function(){ console.log("Switching to "+tabs.active); this.tab = tabs.active; + context.system.tab = tabs.active; + console.log(context.system.tab); + console.log(this.sheetContext.system.tab); } } diff --git a/pokemon.css b/pokemon.css index 947c22e..7cf83b9 100644 --- a/pokemon.css +++ b/pokemon.css @@ -461,7 +461,7 @@ margin-top: 25px; margin-left: 50px; } -.pokemon.sheet.characterSheet .movedescription { +.pokemon.sheet.characterSheet .moveDescription { font-family: VT323; width: 620px; height: 520px; diff --git a/system.json b/system.json index 6220691..8552d17 100644 --- a/system.json +++ b/system.json @@ -1,5 +1,5 @@ { - "version": "0.0.52", + "version": "0.0.53", "id": "pokemon", "title": "Pokémon TTRPG", "description": "A Pokémon TTRPG", diff --git a/system.zip b/system.zip index d8172c4..98aee64 100644 Binary files a/system.zip and b/system.zip differ