Merge pull request #211 from storytold/feature/spacebar-playback

Feature/spacebar playback
This commit is contained in:
ArEnSc authored and GitHub committed 2024-04-23 15:49:59 -04:00
commit 952d37cbb0
1 file changed
+4
+4
View File
@@ -1342,6 +1342,10 @@ class Editor {
this.orbitControls.maxDistance = 4;
this.orbitControls.update();
this.orbitControls.maxDistance = 999;
} else if (event.key === ' ') {
if(this.rendering == false){
this.startPlayback();
}
}
}