added grow, weaken, and time compression

This commit is contained in:
Olivier Gagnon
2021-10-04 19:58:34 -04:00
parent 33ea31be87
commit c47a5bc8cc
22 changed files with 254 additions and 71 deletions
+1 -2
View File
@@ -1,4 +1,3 @@
import { setTimeoutRef } from "./utils/SetTimeoutRef";
import { dialogBoxCreate } from "./ui/React/DialogBox";
import { BaseServer } from "./Server/BaseServer";
import { Generic_fromJSON, Generic_toJSON, Reviver } from "./utils/JSONReviver";
@@ -47,7 +46,7 @@ export class TextFile {
a.download = this.fn;
document.body.appendChild(a);
a.click();
setTimeoutRef(() => {
setTimeout(() => {
document.body.removeChild(a);
window.URL.revokeObjectURL(url);
}, 0);