Skip to content

Commit 004b5c9

Browse files
committed
v3.2.1
1 parent 07c1283 commit 004b5c9

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

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": "3.2.0",
5+
"version": "3.2.1",
66
"socket": true,
77
"authors": [
88
{

scripts/investigation-board.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2054,6 +2054,13 @@ Hooks.on("createDrawing", (drawing, options, userId) => {
20542054
const noteData = drawing.flags[MODULE_ID];
20552055
if (!noteData) return;
20562056

2057+
// If this is the user who created the note, open the edit dialog
2058+
if (userId === game.user.id) {
2059+
setTimeout(() => {
2060+
drawing.sheet.render(true);
2061+
}, 150);
2062+
}
2063+
20572064
// If we're in Investigation Board mode, refresh interactivity after the drawing is rendered
20582065
if (investigationBoardModeActive) {
20592066
// Wait for the drawing to be fully rendered on canvas

0 commit comments

Comments
 (0)