fixed # 更改个人HUD

This commit is contained in:
2026-10-23 00:38:05 +08:00
parent fe3ebcc0e8
commit 727f469e93
89 changed files with 1692 additions and 59 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ export function createHandInput(player, session, adapter, fan, env, refresh, log
const maskedControls = new Set(), submittedControls = new Set();
const maskClass = "mengsan-hand-controls-hidden-shuying";
function maskControls(hidden) {
const wanted = hidden ? new Set([ui.control, ui.confirm, gesture?.event.endButton]) : new Set();
const wanted = hidden ? new Set([ui.control, ui.confirm, ui.skillControl, gesture?.event.endButton]) : new Set();
for (const node of maskedControls) {
if (wanted.has(node)) continue;
node.classList.remove(maskClass); maskedControls.delete(node);