forked from Github/frigate
Motion review playback optimizations (#10659)
* handle motion timestamps with ranges * check for overlaps when checking segment for events * rename motion color vars to significant_motion for consistency * safelist significant_motion * rename vars for clarity and use timeout instead of interval
This commit is contained in:
@@ -9,7 +9,7 @@ module.exports = {
|
||||
],
|
||||
safelist: [
|
||||
{
|
||||
pattern: /(outline|shadow)-severity_(alert|detection|motion)/,
|
||||
pattern: /(outline|shadow)-severity_(alert|detection|significant_motion)/,
|
||||
},
|
||||
],
|
||||
theme: {
|
||||
@@ -87,9 +87,9 @@ module.exports = {
|
||||
DEFAULT: "hsl(var(--severity_detection))",
|
||||
dimmed: "hsl(var(--severity_detection_dimmed))",
|
||||
},
|
||||
severity_motion: {
|
||||
DEFAULT: "hsl(var(--severity_motion))",
|
||||
dimmed: "hsl(var(--severity_motion_dimmed))",
|
||||
severity_significant_motion: {
|
||||
DEFAULT: "hsl(var(--severity_significant_motion))",
|
||||
dimmed: "hsl(var(--severity_significant_motion_dimmed))",
|
||||
},
|
||||
motion_review: {
|
||||
DEFAULT: "hsl(var(--motion_review))",
|
||||
|
||||
Reference in New Issue
Block a user