small adjustments to TODO comments
This commit is contained in:
parent
62cc5a0e7c
commit
a0c4d1c4d9
2 changed files with 3 additions and 3 deletions
|
@ -63,7 +63,7 @@ export class DS4ItemSheet extends ItemSheet<unknown, DS4Item> {
|
|||
const position = super.setPosition(options);
|
||||
if ("find" in this.element) {
|
||||
const sheetBody = this.element.find(".sheet-body");
|
||||
const bodyHeight = (position.height as number) - 192; // TODO: remove type cast once https://github.com/kmoschcau/foundry-vtt-types/pull/214 is merged
|
||||
const bodyHeight = (position.height as number) - 192; // TODO(types): remove type cast once https://github.com/kmoschcau/foundry-vtt-types/pull/214 is merged
|
||||
sheetBody.css("height", bodyHeight);
|
||||
} else {
|
||||
console.log("Failure setting position.");
|
||||
|
@ -99,7 +99,7 @@ export class DS4ItemSheet extends ItemSheet<unknown, DS4Item> {
|
|||
case "create":
|
||||
return this._createActiveEffect();
|
||||
case "edit":
|
||||
const effect = this.item["effects"].get(li.data("effectId")); // TODO replace with item.effect once https://github.com/kmoschcau/foundry-vtt-types/pull/216 is merged
|
||||
const effect = this.item["effects"].get(li.data("effectId")); // TODO(types): replace with item.effect once https://github.com/kmoschcau/foundry-vtt-types/pull/216 is merged
|
||||
return effect.sheet.render(true);
|
||||
case "delete": {
|
||||
return this.item.deleteEmbeddedEntity("ActiveEffect", li.data("effectId"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue