Garbage collect segments.
This commit is contained in:
@@ -455,6 +455,10 @@ export class FrigateCardTimelineCore extends LitElement {
|
||||
* @param properties
|
||||
*/
|
||||
protected _timelineRangeChangeHandler(properties: TimelineRangeChange): void {
|
||||
if (this._pointerHeld) {
|
||||
this._ignoreClick = true;
|
||||
}
|
||||
|
||||
if (
|
||||
this._timeline &&
|
||||
properties.byUser &&
|
||||
@@ -463,9 +467,6 @@ export class FrigateCardTimelineCore extends LitElement {
|
||||
properties.event.additionalEvent !== 'pinchin' &&
|
||||
properties.event.additionalEvent !== 'pinchout'
|
||||
) {
|
||||
if (this._pointerHeld) {
|
||||
this._ignoreClick = true;
|
||||
}
|
||||
|
||||
const targetTime = this._pointerHeld?.window
|
||||
? add(properties.start, {
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
// TODO: When a media viewer is first loaded the selected child won't work (because the underlying carousel has not yet rendered)
|
||||
|
||||
// TODO: delete segments if not in summary? is this actually necessary? could it create gaps in data? better off stopping access via summary?
|
||||
// TODO: Make minitimeline configurable in the editor
|
||||
|
||||
import { CSSResultGroup, html, LitElement, TemplateResult, unsafeCSS } from 'lit';
|
||||
|
||||
Reference in New Issue
Block a user