From 5ad2e27a89850cfbc25bb2d3f11a1284f1caade1 Mon Sep 17 00:00:00 2001 From: Tom Boullay Date: Wed, 3 Jun 2026 03:44:04 +0200 Subject: [PATCH] fix(ui): scope hand-tracking activation + clean MissionNotification video branch - HandTrackingProvider: drop the physics-mode auto-activation that turned the camera/MediaPipe pipeline on whenever any interactable was nearby (e.g. walking near the ebike to mount it). Hand tracking is now gated *only* by the active repair-mission step (inspected, repairing, reassembling, done). When testing in TestMap, set mainState=ebike + currentStep=inspected via the GameStateDebugPanel. - MissionNotification: video branch no longer inherits the CRT-style enter/scan/flicker/sepia animations applied to the PNG branch via index.css. The webm assets already animate themselves, so the wrapping container is rendered with inline styles only (clip-path silhouette preserved, but no .__image-wrap::before scan line, no .__image flicker filter, no parent enter animation, no drop-shadow). --- src/components/ui/MissionNotification.tsx | 42 +++++++++++++++---- .../gameplay/HandTrackingProvider.tsx | 16 +++---- 2 files changed, 43 insertions(+), 15 deletions(-) diff --git a/src/components/ui/MissionNotification.tsx b/src/components/ui/MissionNotification.tsx index 008df34..3114eaa 100644 --- a/src/components/ui/MissionNotification.tsx +++ b/src/components/ui/MissionNotification.tsx @@ -6,6 +6,12 @@ import type { RepairMissionId } from "@/types/gameplay/repairMission"; //