diff --git a/web/src/components/filter/CameraGroupSelector.tsx b/web/src/components/filter/CameraGroupSelector.tsx index ff7d9edfb..f6a5c5fdf 100644 --- a/web/src/components/filter/CameraGroupSelector.tsx +++ b/web/src/components/filter/CameraGroupSelector.tsx @@ -468,7 +468,7 @@ export function CameraGroupRow({ {isMobile && ( <> - + diff --git a/web/src/components/player/VideoControls.tsx b/web/src/components/player/VideoControls.tsx index 7ccea48b6..8e86645e8 100644 --- a/web/src/components/player/VideoControls.tsx +++ b/web/src/components/player/VideoControls.tsx @@ -1,5 +1,5 @@ import { useCallback, useMemo, useRef, useState } from "react"; -import { isMobileOnly, isSafari } from "react-device-detect"; +import { isDesktop, isMobileOnly, isSafari } from "react-device-detect"; import { LuPause, LuPlay } from "react-icons/lu"; import { DropdownMenu, @@ -242,7 +242,7 @@ export default function VideoControls({ )} {features.playbackRate && ( { if (setControlsOpen) { setControlsOpen(open); diff --git a/web/src/components/settings/PolygonItem.tsx b/web/src/components/settings/PolygonItem.tsx index bd07b322b..68aa89978 100644 --- a/web/src/components/settings/PolygonItem.tsx +++ b/web/src/components/settings/PolygonItem.tsx @@ -19,7 +19,7 @@ import { LuCopy, LuPencil } from "react-icons/lu"; import { FaDrawPolygon, FaObjectGroup } from "react-icons/fa"; import { BsPersonBoundingBox } from "react-icons/bs"; import { HiOutlineDotsVertical, HiTrash } from "react-icons/hi"; -import { isMobile } from "react-device-detect"; +import { isDesktop, isMobile } from "react-device-detect"; import { flattenPoints, parseCoordinates, @@ -266,7 +266,7 @@ export default function PolygonItem({ {isMobile && ( <> - + diff --git a/web/src/views/live/LiveCameraView.tsx b/web/src/views/live/LiveCameraView.tsx index be0b4516c..5f43b4bc0 100644 --- a/web/src/views/live/LiveCameraView.tsx +++ b/web/src/views/live/LiveCameraView.tsx @@ -620,7 +620,7 @@ function PtzControlPanel({ )} {(ptz?.presets?.length ?? 0) > 0 && ( - +