Fix zoom callback on camera controls (#3924)

This commit is contained in:
Jonathan Tran
2024-09-19 17:26:27 -04:00
committed by GitHub
parent dabf256e2b
commit d8236dd8da
3 changed files with 39 additions and 15 deletions

View File

@ -260,7 +260,7 @@ export const Stream = () => {
if (state.matches('Sketch')) return
if (state.matches({ idle: 'showPlanes' })) return
if (btnName(e).left) {
if (btnName(e.nativeEvent).left) {
// eslint-disable-next-line @typescript-eslint/no-floating-promises
sendSelectEventToEngine(e, videoRef.current)
}