Skip to content

Commit

Permalink
Added docs, see see #438
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Aug 27, 2017
1 parent b6498b3 commit 18d08df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/NavigationBarScreenButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ define( function( require ) {
else {

// Don't allow the text to grow larger than the icon if changed later on using PhET-iO, see #438
// Text is allowed to go beyond the bounds of the icon, hence we use `this.width` instead of `icon.width`
text.maxWidth = this.width;
}

Expand Down

0 comments on commit 18d08df

Please sign in to comment.