mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Recast: allow closing the testcase window
If the testcase window was opened, there was no way to close it without opening a test case. This patch allows you to toggle it.
This commit is contained in:
parent
f843c69672
commit
6fd9a5b936
@ -546,10 +546,12 @@ int not_main(int argc, char** argv)
|
||||
}
|
||||
else if (event.key.keysym.sym == SDLK_t)
|
||||
{
|
||||
showLevels = false;
|
||||
showEditor = false;
|
||||
showTestCases = true;
|
||||
scanDirectory(testCasesFolder, ".txt", files);
|
||||
showLevels ^= false;
|
||||
showEditor ^= false;
|
||||
showTestCases ^= true;
|
||||
|
||||
if (showTestCases)
|
||||
scanDirectory(testCasesFolder, ".txt", files);
|
||||
}
|
||||
else if (event.key.keysym.sym == SDLK_TAB)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user