This commit is contained in:
2025-08-04 14:24:30 +02:00
parent b9cd18b5cc
commit b180419475
5 changed files with 23 additions and 1 deletions

View File

@@ -544,4 +544,11 @@
margin-top: 25px; margin-top: 25px;
margin-left: 50px; margin-left: 50px;
} }
.movedescription {
font-family: "VT323", Arial, Helvetica, sans-serif;
width: 620px;
height: 520px;
margin: 10px;
}
} }

View File

@@ -5,6 +5,8 @@ export default class pokemonCharacterSheet extends api.HandlebarsApplicationMixi
sheetContext = {}; sheetContext = {};
tab = "tab1";
static DEFAULT_OPTIONS = { static DEFAULT_OPTIONS = {
tag: "form", tag: "form",
classes: ["pokemon", "sheet", "characterSheet"], classes: ["pokemon", "sheet", "characterSheet"],
@@ -83,5 +85,12 @@ export default class pokemonCharacterSheet extends api.HandlebarsApplicationMixi
const tabs = new foundry.applications.ux.Tabs({navSelector: ".tabs", contentSelector: ".content", initial: "tab1"}); const tabs = new foundry.applications.ux.Tabs({navSelector: ".tabs", contentSelector: ".content", initial: "tab1"});
tabs.bind(this.element); tabs.bind(this.element);
tabs.activate(tab);
tabs.callback = function(){
console.log(tabs.active);
tab = tabs.active;
}
} }
} }

View File

@@ -461,3 +461,9 @@
margin-top: 25px; margin-top: 25px;
margin-left: 50px; margin-left: 50px;
} }
.pokemon.sheet.characterSheet .movedescription {
font-family: "VT323", Arial, Helvetica, sans-serif;
width: 620px;
height: 520px;
margin: 10px;
}

View File

@@ -1,5 +1,5 @@
{ {
"version": "0.0.48", "version": "0.0.49",
"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.