Merge branch 'feature/party-sheet' of https://github.com/Foundryborne/daggerheart into feature/party-sheet

This commit is contained in:
WBHarry 2025-11-04 17:20:29 +01:00
commit a442cb904b
4 changed files with 6 additions and 5 deletions

View file

@ -46,15 +46,15 @@ export default class Party extends DHBaseActorSheet {
partyMembers: { template: 'systems/daggerheart/templates/sheets/actors/party/party-members.hbs' },
resources: {
template: 'systems/daggerheart/templates/sheets/actors/party/resources.hbs',
scrollable: ['.resources']
scrollable: ['']
},
projects: {
template: 'systems/daggerheart/templates/sheets/actors/party/projects.hbs',
scrollable: ['.projects']
scrollable: ['']
},
inventory: {
template: 'systems/daggerheart/templates/sheets/actors/party/inventory.hbs',
scrollable: ['.inventory']
scrollable: ['']
},
notes: { template: 'systems/daggerheart/templates/sheets/actors/party/notes.hbs' }
};

View file

@ -675,7 +675,6 @@ export default class DhCharacter extends BaseDataActor {
}
_getTags() {
const tags = [this.class.value.name, this.class.subclass.name, this.community.name, this.ancestry.name];
return tags;
return [this.class.value?.name, this.class.subclass?.name, this.community?.name, this.ancestry?.name].filter((t) => !!t);
}
}

View file

@ -92,6 +92,7 @@
&.actor-img {
border-radius: 50%;
object-position: top center;
}
}

View file

@ -53,6 +53,7 @@ body.game:is(.performance-low, .noblur) {
.actor-img {
height: 150px;
object-fit: cover;
object-position: top center;
border-radius: 6px 6px 0px 0px;
mask-image: linear-gradient(180deg, black 88%, transparent 100%);
}