forked from Github/frigate
UI tweaks (#10402)
* add minor ticks to timeline * don't display motion events on veritcal bars on motion timeline * color tweaks and spacing on config editor * pad start and end of timeline to ensure handlebar is always visible
This commit is contained in:
@@ -195,8 +195,8 @@ function useDraggableHandler({
|
||||
segmentHeight * (timelineDuration / segmentDuration) -
|
||||
segmentHeight * 2,
|
||||
Math.max(
|
||||
// start of timeline
|
||||
segmentHeight + scrolled,
|
||||
// start of timeline - 2 segments added for handlebar visibility
|
||||
segmentHeight * 2 + scrolled,
|
||||
// current Y position
|
||||
clientYPosition -
|
||||
timelineTop +
|
||||
|
||||
Reference in New Issue
Block a user