Skip to content

Commit

Permalink
fix home button click error, #485
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Apr 19, 2018
1 parent f560838 commit 14d927c
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions js/HomeButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ define( function( require ) {
* @constructor
*/
function HomeButton( navBarHeight, navigationBarFillProperty, tandem, options ) {
var self = this;

options = _.extend( {
highlightExtensionWidth: 4,
Expand All @@ -60,13 +59,6 @@ define( function( require ) {

JoistButton.call( this, content, navigationBarFillProperty, tandem, options );

// a11y - When you click on the home button in the nav bar, blur() that button when you go to the home screen.
this.addAccessibleInputListener( {
click: function() {
self.blur();
}
} );

// a11y - Pass a shape to the focusHighlight to prevent dilation, then tweak the bottom up just a hair so it
// isn't off the screen.
var highlightLineWidth = FocusHighlightPath.getOuterLineWidthFromNode( this );
Expand Down

0 comments on commit 14d927c

Please sign in to comment.