Skip to content

Commit

Permalink
hide accessible content when ScreenView is invisible
Browse files Browse the repository at this point in the history
  • Loading branch information
jessegreenberg committed Feb 2, 2017
1 parent 2c166f6 commit 832ec36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/ScreenView.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ define( function( require ) {
// when the screen view is invisible, hide all accessible content - must be disposed
var self = this;
var visibilityListener = function() {
self.accessibleHidden = self.visible;
self.accessibleHidden = !self.visible;
};
visibilityListener();

Expand Down

0 comments on commit 832ec36

Please sign in to comment.