feat: improve help view
Some checks failed
Deploy to GitHub Pages / build_site (push) Failing after 1m24s
Some checks failed
Deploy to GitHub Pages / build_site (push) Failing after 1m24s
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
let isRunning = false;
|
||||
const task = useTask(() => {
|
||||
let length = center.clone().sub(controls.target).length();
|
||||
if (length < 0.01) {
|
||||
if (length < 0.01 || !centerCamera) {
|
||||
isRunning = false;
|
||||
task.stop();
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user