Co-authored-by: Reifonas <211114984+Reifonas@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot]
2026-05-12 11:28:47 +00:00
parent c986cb8c15
commit 1cce280437
+11
View File
@@ -0,0 +1,11 @@
/**
* DEVKIT — Drives macro recording/playback inside the R3F frame loop.
* Mounted inside <Canvas>. No visual output.
*/
import { useFrame } from '@react-three/fiber';
import { tickMacro } from './macroStore';
export function MacroDriver() {
useFrame(() => { tickMacro(); });
return null;
}