diff --git a/less/character-sheet.less b/less/character-sheet.less index feba157..afca1ba 100644 --- a/less/character-sheet.less +++ b/less/character-sheet.less @@ -541,8 +541,8 @@ justify-items: space-evenly; position: absolute; z-index: 100; - margin-top: 25px; - margin-left: 50px; + margin-top: 15px; + margin-left: 30px; } textarea { diff --git a/modules/sheets/pokemonCharacterSheet.js b/modules/sheets/pokemonCharacterSheet.js index 02c717d..da361c5 100644 --- a/modules/sheets/pokemonCharacterSheet.js +++ b/modules/sheets/pokemonCharacterSheet.js @@ -70,7 +70,6 @@ export default class pokemonCharacterSheet extends api.HandlebarsApplicationMixi this.sheetContext = context; context.system.tab = this.tab; - console.log(context.system.tab); return context; } @@ -84,19 +83,13 @@ export default class pokemonCharacterSheet extends api.HandlebarsApplicationMixi /** @override */ _onRender(context, options) { - // this.tab = context.system.tab; - const tabs = new foundry.applications.ux.Tabs({navSelector: ".tabs", contentSelector: ".content", initial: this.tab}); tabs.bind(this.element); - console.log("Rendering with "+this.tab+" open"); - tabs.activate(this.tab); + // tabs.activate(this.tab); tabs.callback = () => { - console.log("Switching to "+tabs.active); this.tab = tabs.active; - context.system.tab = tabs.active; - this.submit(); } } diff --git a/pokemon.css b/pokemon.css index a71da68..808ee1f 100644 --- a/pokemon.css +++ b/pokemon.css @@ -458,8 +458,8 @@ justify-items: space-evenly; position: absolute; z-index: 100; - margin-top: 25px; - margin-left: 50px; + margin-top: 15px; + margin-left: 30px; } .pokemon.sheet.characterSheet textarea { font-family: VT323; diff --git a/system.json b/system.json index 93d98e6..2ec62c5 100644 --- a/system.json +++ b/system.json @@ -1,5 +1,5 @@ { - "version": "0.0.62", + "version": "0.1.0", "id": "pokemon", "title": "Pokémon TTRPG", "description": "A Pokémon TTRPG", diff --git a/system.zip b/system.zip index 4465e29..ce7b26f 100644 Binary files a/system.zip and b/system.zip differ diff --git a/templates/sheets/character/sidebar.hbs b/templates/sheets/character/sidebar.hbs index 3ceb6c3..2d99ba6 100644 --- a/templates/sheets/character/sidebar.hbs +++ b/templates/sheets/character/sidebar.hbs @@ -25,7 +25,6 @@ - {{system.tab}}