From c80dd44c59b71835b76312992f47ea204bd263b4 Mon Sep 17 00:00:00 2001 From: Kurt Hutten Date: Thu, 3 Aug 2023 07:28:06 +1000 Subject: [PATCH] Kurt pet issue (#216) * use key names vars * tweaks --- src/components/Stream.tsx | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/src/components/Stream.tsx b/src/components/Stream.tsx index 713cdc195..58a73db05 100644 --- a/src/components/Stream.tsx +++ b/src/components/Stream.tsx @@ -46,10 +46,7 @@ export const Stream = () => { cmd: { type: 'camera_drag_move', interaction, - window: { - x: x, - y: y, - }, + window: { x, y }, }, cmd_id: uuidv4(), file_id: file_id, @@ -77,10 +74,7 @@ export const Stream = () => { cmd: { type: 'camera_drag_start', interaction, - window: { - x: x, - y: y, - }, + window: { x, y }, }, cmd_id: newId, file_id, @@ -107,10 +101,7 @@ export const Stream = () => { cmd: { type: 'camera_drag_end', interaction, - window: { - x: x, - y: y, - }, + window: { x, y }, }, cmd_id: uuidv4(), file_id: file_id,