mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-05 21:33:40 +08:00
fixed screenshotting from command line showing commandline background
This commit is contained in:
parent
6c8376e3f2
commit
1b17b97cf0
1 changed files with 4 additions and 2 deletions
|
@ -129,7 +129,7 @@ let commands = {
|
|||
id: "toggleShowLiveAcc",
|
||||
display: "Toggle live accuracy display",
|
||||
exec: () => {
|
||||
LiveAcc.show();
|
||||
toggleLiveAcc();
|
||||
},
|
||||
},
|
||||
{
|
||||
|
@ -622,7 +622,9 @@ let commands = {
|
|||
id: "saveScreenshot",
|
||||
display: "Save screenshot",
|
||||
exec: () => {
|
||||
TestUI.screenshot();
|
||||
setTimeout(() => {
|
||||
TestUI.screenshot();
|
||||
}, 500);
|
||||
},
|
||||
available: () => {
|
||||
return TestUI.resultVisible;
|
||||
|
|
Loading…
Reference in a new issue