Add the primitive dropdown styling for the skills

This commit is contained in:
Oliver-Akins 2023-11-26 13:11:02 -07:00
parent 31b2ccedc8
commit 6381b51990
14 changed files with 179 additions and 67 deletions

View file

@ -3,6 +3,7 @@ export const partials = [
"actors/char-sheet-mvp/partials/stat.hbs",
"actors/char-sheet-mvp/partials/skill.hbs",
"actors/char-sheet-mvp/partials/panel.hbs",
"actors/char-sheet-mvp/partials/panels/skills.hbs",
]
export async function registerHandlebarsHelpers() {

View file

@ -1,3 +1,5 @@
import * as hbs from "../handlebars.js";
Hooks.on(`hotReload`, async (data) => {
if (data.extension !== 'hbs') {
return true;

View file

@ -4,13 +4,14 @@
*/
export class CharacterSheet extends ActorSheet {
static get defaultOptions() {
return mergeObject(
let opts = mergeObject(
super.defaultOptions,
{
classes: ["dotdungeon"],
template: "systems/dotdungeon/templates/actors/char-sheet-mvp/sheet.hbs"
}
);
opts.classes.push("dotdungeon");
return opts;
};
activateListeners(html) {