feat(casting): add DEBUG_TOUCH_ZONES overlay for hit-area calibration

This commit is contained in:
Uruk
2026-05-22 10:02:17 +02:00
parent b9e87e51cc
commit 21c0fb4b6c
3 changed files with 39 additions and 0 deletions

8
utils/casting/debug.ts Normal file
View File

@@ -0,0 +1,8 @@
/**
* Developer flag for visualising touch zones in the casting player.
*
* Flip to `true` to draw outlines over the slider hit area and the control row,
* run the app, hand-calibrate `panHitSlop`, then flip back to `false`.
* Every use is gated with `__DEV__` so it can never render in a release build.
*/
export const DEBUG_TOUCH_ZONES = false;