From a60ffe06aca239754f67f0dd3af293e32c8708b3 Mon Sep 17 00:00:00 2001
From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
Date: Thu, 20 Jun 2024 07:24:50 -0600
Subject: [PATCH] Prevent ptz keyboard shortcuts from reopening presets menu
(#12079)
---
web/src/views/live/LiveCameraView.tsx | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/web/src/views/live/LiveCameraView.tsx b/web/src/views/live/LiveCameraView.tsx
index bee6077da..f75a7186a 100644
--- a/web/src/views/live/LiveCameraView.tsx
+++ b/web/src/views/live/LiveCameraView.tsx
@@ -626,7 +626,10 @@ function PtzControlPanel({
-
+ e.preventDefault()}
+ >
{ptz?.presets.map((preset) => {
return (