Skip to content

Commit

Permalink
closes #430
Browse files Browse the repository at this point in the history
  • Loading branch information
Muttley committed May 28, 2024
1 parent 14a95a1 commit e2f7dfb
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 0 additions & 4 deletions scss/fallout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
5 changes: 4 additions & 1 deletion system/src/documents/FalloutActor.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand Down

0 comments on commit e2f7dfb

Please sign in to comment.