diff --git a/module/Apps/ActorSheets/HeroSummaryCardV1.mjs b/module/Apps/ActorSheets/HeroSummaryCardV1.mjs index 105dacb..b1428db 100644 --- a/module/Apps/ActorSheets/HeroSummaryCardV1.mjs +++ b/module/Apps/ActorSheets/HeroSummaryCardV1.mjs @@ -1,6 +1,6 @@ import { filePath } from "../../consts.mjs"; import { gameTerms } from "../../gameTerms.mjs"; -import { GenericSheetMixin } from "../GenericSheet.mjs"; +import { GenericAppMixin } from "../GenericApp.mjs"; import { localizer } from "../../utils/Localizer.mjs"; import { Logger } from "../../utils/Logger.mjs"; @@ -9,7 +9,7 @@ const { HandlebarsApplicationMixin } = foundry.applications.api; const { ActorSheetV2 } = foundry.applications.sheets; // const { Roll } = foundry.dice; -export class HeroSummaryCardV1 extends GenericSheetMixin(HandlebarsApplicationMixin(ActorSheetV2)) { +export class HeroSummaryCardV1 extends GenericAppMixin(HandlebarsApplicationMixin(ActorSheetV2)) { // #region Options static DEFAULT_OPTIONS = { diff --git a/module/Apps/GenericSheet.mjs b/module/Apps/GenericApp.mjs similarity index 87% rename from module/Apps/GenericSheet.mjs rename to module/Apps/GenericApp.mjs index f724041..7832956 100644 --- a/module/Apps/GenericSheet.mjs +++ b/module/Apps/GenericApp.mjs @@ -6,8 +6,8 @@ const { Roll } = foundry.dice; /** * A mixin that takes the class from HandlebarsApplicationMixin and */ -export function GenericSheetMixin(HandlebarsSheet) { - class GenericRipCryptSheet extends HandlebarsSheet { +export function GenericAppMixin(HandlebarsApp) { + class GenericRipCryptApp extends HandlebarsApp { // #region Options static DEFAULT_OPTIONS = { @@ -39,7 +39,7 @@ export function GenericSheetMixin(HandlebarsSheet) { // #endregion // #region Actions - /** @this {GenericRipCryptSheet} */ + /** @this {GenericRipCryptApp} */ static async rollDice(_$e, el) { const data = el.dataset; const formula = data.formula; @@ -59,5 +59,5 @@ export function GenericSheetMixin(HandlebarsSheet) { }; // #endregion }; - return GenericRipCryptSheet; + return GenericRipCryptApp; };