remove workaround for position type
This commit is contained in:
parent
53f5514db3
commit
ba268e4245
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ export class DS4ItemSheet extends ItemSheet<unknown, DS4Item> {
|
||||||
const position = super.setPosition(options);
|
const position = super.setPosition(options);
|
||||||
if ("find" in this.element) {
|
if ("find" in this.element) {
|
||||||
const sheetBody = this.element.find(".sheet-body");
|
const sheetBody = this.element.find(".sheet-body");
|
||||||
const bodyHeight = (position.height as number) - 192; // TODO(types): remove type cast once https://github.com/kmoschcau/foundry-vtt-types/pull/214 is merged
|
const bodyHeight = position.height - 192;
|
||||||
sheetBody.css("height", bodyHeight);
|
sheetBody.css("height", bodyHeight);
|
||||||
} else {
|
} else {
|
||||||
console.log("Failure setting position.");
|
console.log("Failure setting position.");
|
||||||
|
|
Loading…
Reference in a new issue