✨
This commit is contained in:
@@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -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;
|
||||||
|
}
|
||||||
|
|||||||
@@ -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",
|
||||||
|
|||||||
BIN
system.zip
BIN
system.zip
Binary file not shown.
Reference in New Issue
Block a user