From 971afec8be8d49a7bfb865a3465759262a4502f9 Mon Sep 17 00:00:00 2001
From: Aaron <79121360+UnrealApex@users.noreply.github.com>
Date: Sat, 18 Sep 2021 16:01:22 -0700
Subject: [PATCH] Made sure alternate command line shortcut is visible (#1883)
by UnrealApex
* Renamed command line setting timer-progress bar
* Made ctrl+shift+p shortcut visible to the user
---
src/js/config.js | 8 ++++----
src/js/ui.js | 2 +-
static/index.html | 10 +++++-----
3 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/src/js/config.js b/src/js/config.js
index b55018301..e6dbd50de 100644
--- a/src/js/config.js
+++ b/src/js/config.js
@@ -1149,11 +1149,11 @@ export function setQuickTabMode(mode, nosave) {
$("#restartTestButton").css("opacity", 1);
$("#bottom .keyTips")
.html(`tab and enter / space - restart test
- esc - command line`);
+ ctrl/cmd+shift+p or esc - command line`);
} else {
$("#restartTestButton").addClass("hidden");
$("#bottom .keyTips").html(`tab - restart test
- esc - command line`);
+ ctrl/cmd+shift+p or esc - command line`);
}
if (!nosave) saveToLocalStorage();
}
@@ -1165,11 +1165,11 @@ export function toggleQuickTabMode() {
$("#restartTestButton").css("opacity", 1);
$("#bottom .keyTips")
.html(`tab and enter / space - restart test
- esc - command line`);
+ ctrl/cmd+shift+p or esc - command line`);
} else {
$("#restartTestButton").addClass("hidden");
$("#bottom .keyTips").html(`tab - restart test
- esc - command line`);
+ ctrl/cmd+shift+p or esc - command line`);
}
saveToLocalStorage();
}
diff --git a/src/js/ui.js b/src/js/ui.js
index 64e152511..4a2546bbf 100644
--- a/src/js/ui.js
+++ b/src/js/ui.js
@@ -39,7 +39,7 @@ export function updateKeytips() {
)`);
$("#bottom .keyTips").html(`
tab - restart test
- esc - command line`);
+ esc or ctrl/cmd+shift+p - command line`);
}
}
diff --git a/static/index.html b/static/index.html
index 44b6566d9..f4908428d 100644
--- a/static/index.html
+++ b/static/index.html
@@ -324,7 +324,7 @@
You can start an infinite test by inputting 0. Then, to stop the test,
- use the Bail Out feature (esc > Bail Out)
+ use the Bail Out feature (esc or ctrl/cmd + shift + p > Bail Out)
ok
@@ -336,7 +336,7 @@
You can start an infinite test by inputting 0. Then, to stop the test,
- use the Bail Out feature (esc > Bail Out)
+ use the Bail Out feature (esc or ctrl/cmd + shift + p > Bail Out)
ok
@@ -1297,7 +1297,7 @@
tab
if you have quick tab mode enabled) to restart the typing test.
Open the command line by pressing
- esc
+ ctrl/cmd+shift+p or esc
- there you can access all the functionality you need without
touching your mouse
@@ -1708,7 +1708,7 @@
tip: You can also change all these settings quickly using the
command line (
- esc
+ ctrl/cmd+shift+p or esc
)
@@ -4184,7 +4184,7 @@
enter
- Restart Test
- esc
+ ctrl/cmd+shift+p or esc
- Command Line