Add actor sheet that is only the attribute list
This commit is contained in:
parent
ba05a0d088
commit
916f7ff589
4 changed files with 27 additions and 1 deletions
17
module/apps/AttributeOnlyPlayerSheet.mjs
Normal file
17
module/apps/AttributeOnlyPlayerSheet.mjs
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
import { PlayerSheet } from "./PlayerSheet.mjs";
|
||||
|
||||
export class AttributeOnlyPlayerSheet extends PlayerSheet {
|
||||
// #region Options
|
||||
static DEFAULT_OPTIONS = {
|
||||
position: {
|
||||
height: `auto`,
|
||||
},
|
||||
};
|
||||
|
||||
static get PARTS() {
|
||||
const parts = super.PARTS;
|
||||
delete parts.content;
|
||||
return parts;
|
||||
};
|
||||
// #endregion Options
|
||||
};
|
||||
|
|
@ -1,8 +1,10 @@
|
|||
import { PlayerSheet } from "./PlayerSheet.mjs";
|
||||
|
||||
export class SingleModePlayerSheet extends PlayerSheet {
|
||||
// #region Data Prep
|
||||
async _prepareContent(ctx) {
|
||||
await super._prepareContent(ctx);
|
||||
ctx.toggled = false;
|
||||
};
|
||||
// #endregion Data Prep
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue