From e2f7dfb2b7b69790569fc4611a7b6cfe440d866b Mon Sep 17 00:00:00 2001 From: Paul Maskelyne Date: Tue, 28 May 2024 01:32:38 +0100 Subject: [PATCH] closes #430 --- CHANGELOG.md | 6 ++++++ scss/fallout.scss | 4 ---- system/src/documents/FalloutActor.mjs | 5 ++++- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 12f7f16f..63032ce5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ #### Bugs - [#428] Rolling weapon attacks broken when using a non-English language setting +- [#430] Character sheet not fully visible on low-resolution displays due to min-height CSS setting + +#### Chores +- [#429] Merge German translation updates from Crowdin + +--- # v11.11.2 diff --git a/scss/fallout.scss b/scss/fallout.scss index b79a3a4d..88e27256 100644 --- a/scss/fallout.scss +++ b/scss/fallout.scss @@ -25,20 +25,16 @@ .fallout.sheet.actor { min-width: 760px; - min-height: 955px; } .fallout.sheet.creature { min-width: 690px; - min-height: 630px; } .fallout.sheet.item { - min-height: 560px; min-width: 580px; } .fallout.sheet.npc { min-width: 750px; - min-height: 785px; } diff --git a/system/src/documents/FalloutActor.mjs b/system/src/documents/FalloutActor.mjs index 69c79263..b13b8062 100644 --- a/system/src/documents/FalloutActor.mjs +++ b/system/src/documents/FalloutActor.mjs @@ -719,12 +719,15 @@ export default class FalloutActor extends Actor { actorLink: false, disposition: CONST.TOKEN_DISPOSITIONS.HOSTILE, name: data.name, // Set token name to actor name + sight: { + enabled: true, + }, texture: foundry.utils.duplicate(this.prototypeToken.texture), }; if (["character", "robot", "settlement"].includes(data.type)) { - prototypeToken.disposition = CONST.TOKEN_DISPOSITIONS.FRIENDLY; prototypeToken.actorLink = true; + prototypeToken.disposition = CONST.TOKEN_DISPOSITIONS.FRIENDLY; } const update = {prototypeToken};