Adds a keybind into the module that allows GMs to temporarily hide their cursor from everyone else (including other GMs) #24

Merged
Oliver merged 4 commits from feature/hide-cursor-temporarily into main 2025-12-19 03:05:18 +00:00
Owner

Closes #22

Closes #22
Oliver added 1 commit 2025-12-14 22:28:33 +00:00
Author
Owner

This might be worth converting into a SessionStorage property instead of a client setting

This might be worth converting into a SessionStorage property instead of a client setting
Oliver reviewed 2025-12-19 03:01:24 +00:00
langs/en-ca.json Outdated
@ -67,1 +67,4 @@
},
"keybindings": {
"toggleMouseBroadcast": {
"name": "Toggle Mouse Position",
Author
Owner

Lets use "Toggle Show Cursor" to use the verbage that Foundry utilizes within the permission config

Lets use "Toggle Show Cursor" to use the verbage that Foundry utilizes within the permission config
Oliver marked this conversation as resolved
@ -0,0 +47,4 @@
).id;
} else {
if (notifID != null) {
ui.notifications.remove(notifID);
Author
Owner

Unset notifID back to null

Unset `notifID` back to null
Oliver marked this conversation as resolved
@ -0,0 +114,4 @@
const keybindingList = element.querySelector(`section[data-group="${tabGroup}"][data-tab="${__ID__}"]`);
const tabButton = element.querySelector(`button[data-group="${tabGroup}"][data-tab="${__ID__}"]`);
if (keybindingList.childElementCount === 0) {
Author
Owner

This can be removed as it's covered by the case at the end of the function

This can be removed as it's covered by the case at the end of the function
Oliver marked this conversation as resolved
Oliver added 3 commits 2025-12-19 03:04:46 +00:00
Oliver merged commit 3d4376aa81 into main 2025-12-19 03:05:18 +00:00
Oliver deleted branch feature/hide-cursor-temporarily 2025-12-19 03:05:19 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Foundry/oft#24
No description provided.