Skip to content

Commit

Permalink
Reset userIsIdle on page change
Browse files Browse the repository at this point in the history
Prevent player controls from fading too quickly after the page has
been entered.
  • Loading branch information
tf committed Aug 9, 2017
1 parent d8401d7 commit bf27ee3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion node_package/src/media/createReducer.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ export default function({scope = 'default'} = {}) {
...state,
hasPlayed: false,
unplayed: true,
infoBoxHiddenDuringPlayback: undefined
infoBoxHiddenDuringPlayback: undefined,
userIsIdle: false
};
case PAGE_WILL_DEACTIVATE:
return {
Expand Down

0 comments on commit bf27ee3

Please sign in to comment.