feat: Use the card's own pan & zoom with the webrtc-card live provider (#2630)

- Closes: #2628
This commit is contained in:
Dermot Duffy
2026-07-29 15:46:03 -07:00
committed by GitHub
parent 70abb39762
commit e9e6d9f833
3 changed files with 27 additions and 4 deletions
@@ -113,6 +113,13 @@ export class WebRTCCardController implements ReactiveController {
// See: https://github.com/dermotduffy/advanced-camera-card/issues/1654
muted: true,
// webrtc-card's own pan & zoom calls preventDefault() and
// stopPropagation() on the wheel and touch gestures it handles, so the
// card never receives them. Disable it by default, so the card's own pan &
// zoom and gesture PTZ get those gestures instead.
// See: https://github.com/dermotduffy/advanced-camera-card/issues/2628
digital_ptz: false,
...cameraConfig.webrtc_card,
};