format files
This commit is contained in:
parent
bd4c5308bf
commit
4f6a9b7e73
18 changed files with 541 additions and 622 deletions
|
@ -23,7 +23,6 @@ export class DS4ActorSheet extends ActorSheet<{
|
|||
// TODO: replace ["..."] access with .
|
||||
const data = super.getData();
|
||||
data["dtypes"] = ["String", "Number", "Boolean"];
|
||||
const innerData = data.data;
|
||||
for (let attr of Object.values(data.data["attributes"])) {
|
||||
attr["isCheckbox"] = attr["dtype"] === "Boolean";
|
||||
}
|
||||
|
|
|
@ -35,7 +35,7 @@ export class DS4ItemSheet extends ItemSheet {
|
|||
const position = super.setPosition(options);
|
||||
const sheetBody = (this.element as JQuery).find(".sheet-body"); // TODO: Why is the cast necessary?
|
||||
const bodyHeight = position.height - 192;
|
||||
//sheetBody.css("height", bodyHeight);
|
||||
sheetBody.css("height", bodyHeight);
|
||||
return position;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue