diff --git a/less/character-sheet.less b/less/character-sheet.less index de0adfc..669da15 100644 --- a/less/character-sheet.less +++ b/less/character-sheet.less @@ -544,4 +544,11 @@ margin-top: 25px; margin-left: 50px; } + + .movedescription { + font-family: "VT323", Arial, Helvetica, sans-serif; + width: 620px; + height: 520px; + margin: 10px; + } } diff --git a/modules/sheets/pokemonCharacterSheet.js b/modules/sheets/pokemonCharacterSheet.js index 85ce977..5ad0896 100644 --- a/modules/sheets/pokemonCharacterSheet.js +++ b/modules/sheets/pokemonCharacterSheet.js @@ -5,6 +5,8 @@ export default class pokemonCharacterSheet extends api.HandlebarsApplicationMixi sheetContext = {}; + tab = "tab1"; + static DEFAULT_OPTIONS = { tag: "form", 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"}); tabs.bind(this.element); + tabs.activate(tab); + + tabs.callback = function(){ + console.log(tabs.active); + tab = tabs.active; + } + } } \ No newline at end of file diff --git a/pokemon.css b/pokemon.css index 836a7d5..7096142 100644 --- a/pokemon.css +++ b/pokemon.css @@ -461,3 +461,9 @@ margin-top: 25px; margin-left: 50px; } +.pokemon.sheet.characterSheet .movedescription { + font-family: "VT323", Arial, Helvetica, sans-serif; + width: 620px; + height: 520px; + margin: 10px; +} diff --git a/system.json b/system.json index a66472e..8d16ffa 100644 --- a/system.json +++ b/system.json @@ -1,5 +1,5 @@ { - "version": "0.0.48", + "version": "0.0.49", "id": "pokemon", "title": "Pokémon TTRPG", "description": "A Pokémon TTRPG", diff --git a/system.zip b/system.zip index d6325d2..f3b78a1 100644 Binary files a/system.zip and b/system.zip differ