Dynamically extract dimensions from loaded media.

This commit is contained in:
Dermot Duffy
2021-09-23 20:38:39 -07:00
parent c75e99e09c
commit e3ccbb0787
13 changed files with 312 additions and 44 deletions
+4
View File
@@ -24,6 +24,10 @@ export class View {
return this.view == name;
}
public isGalleryView(): boolean {
return this.view == 'clips' || this.view == 'snapshots';
}
get media(): BrowseMediaSource | undefined {
if (this.target) {
if (this.target.children && this.childIndex !== undefined) {