This commit is contained in:
2025-08-04 14:38:59 +02:00
parent 2cef73e0a1
commit 6355dc8f68
5 changed files with 6 additions and 12 deletions

View File

@@ -545,7 +545,7 @@
margin-left: 50px; margin-left: 50px;
} }
.movedescription { .moveDescription {
font-family: VT323; font-family: VT323;
width: 620px; width: 620px;
height: 520px; height: 520px;

View File

@@ -79,15 +79,6 @@ export default class pokemonCharacterSheet extends api.HandlebarsApplicationMixi
return context; return context;
} }
/** @override */
submit(submitOptions) {
console.log("Submit");
context.system.tab = this.tab;
return super.submit(submitOptions);
}
/** @override */ /** @override */
_onRender(context, options) { _onRender(context, options) {
this.tab = context.system.tab; this.tab = context.system.tab;
@@ -101,6 +92,9 @@ export default class pokemonCharacterSheet extends api.HandlebarsApplicationMixi
tabs.callback = function(){ tabs.callback = function(){
console.log("Switching to "+tabs.active); console.log("Switching to "+tabs.active);
this.tab = tabs.active; this.tab = tabs.active;
context.system.tab = tabs.active;
console.log(context.system.tab);
console.log(this.sheetContext.system.tab);
} }
} }

View File

@@ -461,7 +461,7 @@
margin-top: 25px; margin-top: 25px;
margin-left: 50px; margin-left: 50px;
} }
.pokemon.sheet.characterSheet .movedescription { .pokemon.sheet.characterSheet .moveDescription {
font-family: VT323; font-family: VT323;
width: 620px; width: 620px;
height: 520px; height: 520px;

View File

@@ -1,5 +1,5 @@
{ {
"version": "0.0.52", "version": "0.0.53",
"id": "pokemon", "id": "pokemon",
"title": "Pokémon TTRPG", "title": "Pokémon TTRPG",
"description": "A Pokémon TTRPG", "description": "A Pokémon TTRPG",

Binary file not shown.