Adds a keybind into the module that allows GMs to temporarily hide their cursor from everyone else (including other GMs) #24
1 changed files with 0 additions and 5 deletions
|
|
@ -115,11 +115,6 @@ function renderControlsConfigHandler(_app, element) {
|
|||
const keybindingList = element.querySelector(`section[data-group="${tabGroup}"][data-tab="${__ID__}"]`);
|
||||
const tabButton = element.querySelector(`button[data-group="${tabGroup}"][data-tab="${__ID__}"]`);
|
||||
|
||||
|
Oliver marked this conversation as resolved
|
||||
if (keybindingList.childElementCount === 0) {
|
||||
tabButton?.remove();
|
||||
return;
|
||||
};
|
||||
|
||||
const keybind = keybindingList.querySelector(`.form-group[data-action-id="${__ID__}.${key}"]`);
|
||||
keybind?.remove();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue
This can be removed as it's covered by the case at the end of the function