fix(cine): Set cine disabled on mode exit. (#3812)
This commit is contained in:
parent
abac6f583e
commit
924affa7b5
@ -7,6 +7,7 @@ const publicAPI = {
|
||||
setIsCineEnabled: _setIsCineEnabled,
|
||||
playClip: _playClip,
|
||||
stopClip: _stopClip,
|
||||
onModeExit: _onModeExit,
|
||||
setServiceImplementation,
|
||||
};
|
||||
|
||||
@ -38,6 +39,10 @@ function _stopClip(element) {
|
||||
return serviceImplementation._stopClip(element);
|
||||
}
|
||||
|
||||
function _onModeExit() {
|
||||
_setIsCineEnabled(false);
|
||||
}
|
||||
|
||||
function setServiceImplementation({
|
||||
getState: getStateImplementation,
|
||||
setCine: setCineImplementation,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user