Fullscreen improvements (esp. portrait media)

This commit is contained in:
Dermot Duffy
2021-09-26 14:05:06 -07:00
parent 2ab4e064f4
commit 7c0e0133ee
6 changed files with 63 additions and 21 deletions
+4
View File
@@ -28,6 +28,10 @@ export class View {
return this.view == 'clips' || this.view == 'snapshots';
}
public isMediaView(): boolean {
return !this.isGalleryView();
}
get media(): BrowseMediaSource | undefined {
if (this.target) {
if (this.target.children && this.childIndex !== undefined) {