Modify timeline to allow pan into past/future.
This commit is contained in:
1 parent
ecf954249d
commit
b3bb56298a
6 files changed
+106
-73
No files matched your search
+1
-1
@@ -51,7 +51,7 @@ export class ViewMedia {
|
||||
}
|
||||
public includesTime(seek: Date): boolean {
|
||||
const startTime = this.getStartTime();
|
||||
const endTime = this.getEndTime();
|
||||
const endTime = this.getEndTime() ?? startTime;
|
||||
return !!startTime && !!endTime && seek >= startTime && seek <= endTime;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user