fix: 触屏暂停菜单文案改为触摸语境
This commit is contained in:
1 parent
3506c33549
commit
90e9f64f95
1 file changed
+4
@@ -1108,6 +1108,10 @@ $("practiceBtn").addEventListener("click", () => sound.ensure());
|
||||
|
||||
// 触屏上把"鼠标灵敏度"改成"触摸灵敏度",别误导人
|
||||
if (touch.enabled) {
|
||||
const pauseTitle = document.querySelector("#pauseScreen h3");
|
||||
const pauseHint = document.querySelector("#pauseScreen .hint");
|
||||
if (pauseTitle) pauseTitle.textContent = "战斗暂停";
|
||||
if (pauseHint) pauseHint.textContent = "点「继续战斗」回到战场";
|
||||
for (const id of ["sensValLobby", "sensVal"]) {
|
||||
const node = document.getElementById(id);
|
||||
if (node && node.parentNode && node.parentNode.firstChild) {
|
||||
|
||||
Reference in new issue
Block a user