Skip to content

Commit 6f9722e

Browse files
committed
v5.8.1
1 parent 0096155 commit 6f9722e

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ https://github.com/mordachai/investigation-board/releases/download/v4.10.1/modul
1515

1616
# Investigation Board
1717

18-
![Foundry v14](https://img.shields.io/badge/foundry-v14-blue?style=for-the-badge) ![Github All Releases](https://img.shields.io/github/downloads/mordachai/investigation-board/total.svg?style=for-the-badge) ![GitHub Release](https://img.shields.io/github/v/release/mordachai/investigation-board?display_name=tag&style=for-the-badge&label=Current%20version)
18+
![Foundry v14](https://img.shields.io/badge/foundry-v14-blue?style=for-the-badge) ![Github All Releases](https://img.shields.io/github/downloads/mordachai/investigation-board/total.svg?style=for-the-badge) ![GitHub Release](https://img.shields.io/github/v/release/mordachai/investigation-board?display_name=tag&style=for-the-badge&label=Current%20version&cacheSeconds=60&v=5.8.0)
1919

2020
A Foundry VTT module that lets everyone create, edit, and move sticky and photo notes on the scene. A must-have for investigative games like City of Mist, Call of Cthulhu, and all your conspiracy adventures.
2121

module.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"id": "investigation-board",
33
"title": "Investigation Board",
44
"description": "<p>A Foundry VTT module that lets everyone create, edit, and move sticky and photo notes on the scene as collaborative investigation tools.</p>",
5-
"version": "5.8.0",
5+
"version": "5.8.1",
66
"socket": true,
77
"authors": [
88
{

scripts/canvas/custom-drawing.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1601,7 +1601,9 @@ export class CustomDrawing extends Drawing {
16011601
this.noteText.text = truncatedText;
16021602
}
16031603
if (this.noteText && !this.noteText.destroyed) {
1604-
this.noteText.position.set(width / 2, isPhoto ? height - 25 : height / 2);
1604+
// Offset scales with height so caption stays anchored in the white strip at any note size
1605+
const photoTextOffset = height * (25 / 290);
1606+
this.noteText.position.set(width / 2, isPhoto ? height - photoTextOffset : height / 2);
16051607
}
16061608

16071609
await this._loadStampTexture(noteData);

0 commit comments

Comments
 (0)