Handle pausing of imagery from viewLargeAction - 3647 (#5901)

* get imagery view context and externally set pause and thumbnail index

* Test pause/play state in realtime mode

* Created an onPreviewMode change handler to be invoked from view large

* Add optional chaining to method invocation

* Change onItemClicked to invoke to resolve repeat large view action error
This commit is contained in:
Michael Rogers
2023-01-19 20:45:40 -06:00
committed by GitHub
parent 70074c52c8
commit e0ca6200bb
4 changed files with 84 additions and 1 deletions

View File

@@ -721,7 +721,7 @@ export default {
&& visibleActions.find(action => action.key === 'large.view');
if (viewLargeAction && viewLargeAction.appliesTo(this.objectPath, this.currentView)) {
viewLargeAction.onItemClicked();
viewLargeAction.invoke(this.objectPath, this.currentView);
}
},
async initializeRelatedTelemetry() {