forked from public/foundryvtt-reve-de-dragon
Ajout d'icônes pour les filtres/locks
This commit is contained in:
@ -32,9 +32,11 @@ export class RdDActorSheet extends ActorSheet {
|
||||
// Gestion du lock/unlock des zones éditables (carac+compétences)
|
||||
data.data.editCaracComp = this.options.editCaracComp;
|
||||
data.data.lockUnlockText = (this.options.editCaracComp) ? "Bloquer" : "Débloquer";
|
||||
data.data.lockUnlockIcon = (this.options.editCaracComp) ? "unlocked.svg" : "locked.svg";
|
||||
// Gestion de l'affichage total/partiel des compétences
|
||||
data.data.cacherCompetencesNiveauBase = this.options.cacherCompetencesNiveauBase;
|
||||
data.data.showHideCompetenceText = (this.options.cacherCompetencesNiveauBase) ? "Montrer tout" : "Filtrer" ;
|
||||
data.data.showHideCompetenceIcon = (this.options.cacherCompetencesNiveauBase) ? "no-filter.svg" : "filter.svg";
|
||||
|
||||
let compCategorieNiveau = RdDUtility.getLevelCategory(); // recup catégorie
|
||||
data.itemsByType = RdDUtility.buildItemsClassification(data.items);
|
||||
|
Reference in New Issue
Block a user