From 45f8e39664bea153fc90cc2d044a858ee9909a46 Mon Sep 17 00:00:00 2001 From: Veilza Date: Tue, 1 Aug 2023 08:55:36 -0500 Subject: [PATCH] Fixed the description box in Scene Notes --- CHANGELOG.md | 3 +++ README.md | 3 +++ module.json | 2 +- module/scene-notes/scenenotes.js | 5 ++--- templates/scenenotes.hbs | 4 +--- 5 files changed, 10 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b756b66..6e789f4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +#### 2.0.1 +* Fixed the scene description box inside the Scene Notes. + #### 2.0.0 * Update to be compatible with Version 11 of Foundry * Transfer of ownership from [Thalissa](https://github.com/thalissa) to [Veilza](https://github.com/veilza) diff --git a/README.md b/README.md index 0b6fd4a..226b0b1 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,9 @@ Utilities and add-ons for the [Chronicles of Darkness 2e](https://gitlab.com/Mar * Originally maintained by [Thalissa](https://github.com/thalissa) ### Changelog +#### 2.0.1 +* Fixed the scene description box inside the Scene Notes. + #### 2.0.0 * Update to be compatible with Version 11 of Foundry * Transfer of ownership from [Thalissa](https://github.com/thalissa) to [Veilza](https://github.com/veilza) diff --git a/module.json b/module.json index 310484d..a1ec5c2 100644 --- a/module.json +++ b/module.json @@ -2,7 +2,7 @@ "id": "cofdutils", "title": "Chronicles of Darkness Utilities", "description": "Utilities and add-ons for the Chronicles of Darkness 2e system.", - "version": "2.0.0", + "version": "2.0.1", "authors": [ { "name": "Veilza", diff --git a/module/scene-notes/scenenotes.js b/module/scene-notes/scenenotes.js index 52e1b05..7b7c99c 100644 --- a/module/scene-notes/scenenotes.js +++ b/module/scene-notes/scenenotes.js @@ -6,7 +6,7 @@ export class SceneNotes extends FormApplication { title: "Scene Notes", id: "scenenotes", template: "modules/cofdutils/templates/scenenotes.hbs", - width: 800, + width: 920, height: 555, resizable: true, minimizable: true, @@ -42,8 +42,7 @@ export class SceneNotes extends FormApplication { actors: [], journals: [], items: [], - activeSceneData: this.system.scenes.find(scene => scene.id == this.activeScene), - description: scene.description + activeSceneData: this.system.scenes.find(scene => scene.id == this.activeScene) } context.enrichedDescription = await TextEditor.enrichHTML(scene.description, {async: true}) diff --git a/templates/scenenotes.hbs b/templates/scenenotes.hbs index e14c490..f814ce6 100644 --- a/templates/scenenotes.hbs +++ b/templates/scenenotes.hbs @@ -21,14 +21,12 @@ -
{{ localize "CofD.SceneNotes.actorsTitle" }}