refactor: Clone context when a view is cloned (#2493)
This commit is contained in:
committed by
dermotduffy
parent
3f0d2ef14d
commit
2acec49b29
@@ -383,8 +383,10 @@ export class AdvancedCameraCardViewerCarousel extends LitElement {
|
||||
// on media load, since the media may or may not have been loaded at
|
||||
// this point).
|
||||
if (
|
||||
this.viewManagerEpoch?.manager.getView()?.context?.mediaViewer !==
|
||||
this.viewManagerEpoch?.oldView?.context?.mediaViewer
|
||||
this.viewManagerEpoch?.manager
|
||||
.getView()
|
||||
?.context?.mediaViewer?.seek?.getTime() !==
|
||||
this.viewManagerEpoch?.oldView?.context?.mediaViewer?.seek?.getTime()
|
||||
) {
|
||||
this._seekHandler();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user