Spaces:
Running
Running
Commit
•
11f52a3
1
Parent(s):
e6b949c
focus
Browse files- editor/src/main.ts +4 -0
editor/src/main.ts
CHANGED
@@ -71,6 +71,10 @@ async function main() {
|
|
71 |
engine.scene.saveToFile();
|
72 |
}
|
73 |
});
|
|
|
|
|
|
|
|
|
74 |
}
|
75 |
|
76 |
main();
|
|
|
71 |
engine.scene.saveToFile();
|
72 |
}
|
73 |
});
|
74 |
+
|
75 |
+
window.addEventListener("click", () => {
|
76 |
+
window.focus();
|
77 |
+
});
|
78 |
}
|
79 |
|
80 |
main();
|