Timeline tweaks (#10816)

* limit handles from overdragging when segments don't fill up timeline

* use separate state for switch

* add key
This commit is contained in:
Josh Hawkins
2024-04-03 20:20:47 -05:00
committed by GitHub
parent 483d64e419
commit 427c6a6afb
4 changed files with 33 additions and 11 deletions

View File

@@ -830,7 +830,7 @@ function MotionReview({
}
const detectionType = getDetectionType(camera.name);
return (
<div className={`relative ${spans}`}>
<div key={camera.name} className={`relative ${spans}`}>
<PreviewPlayer
key={camera.name}
className={`rounded-2xl ${spans} ${grow}`}