From 73b2d9cbc56d1e56dc29546ed5ba1424959b53ea Mon Sep 17 00:00:00 2001 From: Deepak Pradhan Date: Tue, 19 Mar 2024 14:57:18 +0545 Subject: [PATCH] test: animation handle --- src/frontend/src/components/home/ProjectListMap.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/src/components/home/ProjectListMap.tsx b/src/frontend/src/components/home/ProjectListMap.tsx index c9033eed68..81a5d7445c 100644 --- a/src/frontend/src/components/home/ProjectListMap.tsx +++ b/src/frontend/src/components/home/ProjectListMap.tsx @@ -200,7 +200,7 @@ const ProjectListMap = () => { referenceFrame: 'screen', }); sensor.addEventListener('reading', () => { - handleReading(sensor.quaternion); + layer.on('postrender', handleReading(sensor.quaternion)); }); // handleReading([0.509, -0.071, -0.19, 0.836]);