Update the CryptApp name to DelveTourApp
This commit is contained in:
parent
d7661bea14
commit
18f27b15da
3 changed files with 5 additions and 5 deletions
|
|
@ -11,14 +11,14 @@ const conditions = [
|
|||
{ label: `RipCrypt.common.difficulties.hard`, value: 7 },
|
||||
];
|
||||
|
||||
export class CryptApp extends GenericAppMixin(HandlebarsApplicationMixin(ApplicationV2)) {
|
||||
export class DelveTourApp extends GenericAppMixin(HandlebarsApplicationMixin(ApplicationV2)) {
|
||||
// #region Options
|
||||
static DEFAULT_OPTIONS = {
|
||||
classes: [
|
||||
`ripcrypt--CryptApp`,
|
||||
],
|
||||
window: {
|
||||
title: `Crypt`,
|
||||
title: `Delve Tour`,
|
||||
frame: true,
|
||||
positioned: true,
|
||||
resizable: false,
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
// Applications
|
||||
import { AllItemSheetV1 } from "../Apps/ItemSheets/AllItemSheetV1.mjs";
|
||||
import { CombinedHeroSheet } from "../Apps/ActorSheets/CombinedHeroSheet.mjs";
|
||||
import { CryptApp } from "../Apps/CryptApp.mjs";
|
||||
import { DelveTourApp } from "../Apps/DelveTourApp.mjs";
|
||||
import { HeroSkillsCardV1 } from "../Apps/ActorSheets/HeroSkillsCardV1.mjs";
|
||||
import { HeroSummaryCardV1 } from "../Apps/ActorSheets/HeroSummaryCardV1.mjs";
|
||||
|
||||
|
|
@ -29,7 +29,7 @@ import { registerUserSettings } from "../settings/userSettings.mjs";
|
|||
Hooks.once(`init`, () => {
|
||||
Logger.log(`Initializing`);
|
||||
|
||||
CONFIG.ui.crypt = CryptApp;
|
||||
CONFIG.ui.crypt = DelveTourApp;
|
||||
|
||||
// #region Settings
|
||||
registerMetaSettings();
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ export function registerMetaSettings() {
|
|||
config: false,
|
||||
requiresReload: false,
|
||||
onChange: () => {
|
||||
CONFIG.ui.crypt.render({ parts: [ `delveConditions` ]});
|
||||
ui.crypt.render({ parts: [ `delveConditions` ]});
|
||||
},
|
||||
});
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue