fixed screenshotting from command line showing commandline background

This commit is contained in:
Miodec 2021-03-20 15:34:19 +00:00
parent 6c8376e3f2
commit 1b17b97cf0

View file

@ -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;