mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-05 05:17:51 +08:00
Make emulator even more obvious (#1978) by seerlite
* Prefix layout notice with "emulating" Makes it clearer for people that might have set it to use the emulator before but haven't noticed the name change in the settings/command line. * Replace _ in layout name with spaces in notice
This commit is contained in:
parent
23a9915495
commit
d7b5483561
1 changed files with 4 additions and 1 deletions
|
@ -615,7 +615,10 @@ export function updateModesNotice() {
|
|||
|
||||
if (Config.layout !== "default") {
|
||||
$(".pageTest #testModesNotice").append(
|
||||
`<div class="text-button" commands="commandsLayouts"><i class="fas fa-keyboard"></i>${Config.layout}</div>`
|
||||
`<div class="text-button" commands="commandsLayouts"><i class="fas fa-keyboard"></i>emulating ${Config.layout.replace(
|
||||
/_/g,
|
||||
" "
|
||||
)}</div>`
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue