More WIP on 0.8.x migration

This commit is contained in:
Johannes Loher 2021-06-30 04:32:10 +02:00
parent 6b39284164
commit ba493f4f18
13 changed files with 55 additions and 38 deletions

View file

@ -15,8 +15,10 @@ import { isDS4ItemDataTypePhysical } from "./item-data-source";
export class DS4ItemSheet extends ItemSheet {
/** @override */
static get defaultOptions(): ItemSheet.Options {
const superDefaultOptions = super.defaultOptions;
return mergeObject(superDefaultOptions, {
// TODO: Improve
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
return mergeObject(super.defaultOptions, {
width: 540,
height: 400,
classes: ["ds4", "sheet", "item"],