Skip to content

Commit

Permalink
use <br> instead of lineWrap override, #158
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Jan 26, 2019
1 parent 8dc44e3 commit 8ff05ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions friction-strings_en.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
"value": "Book"
},
"bookLabel": {
"value": "book or zoomed-in book"
"value": "book or<br> zoomed-in book"
},
"moveBook": {
"value": "Move grabbed book or grabbed zoomed-in book"
"value": "Move grabbed book or<br> grabbed zoomed-in book"
},
"moveInSmallerSteps": {
"value": "Move slower"
Expand Down
2 changes: 1 addition & 1 deletion js/friction/view/FrictionKeyboardHelpContentPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ define( function( require ) {
const DEFAULT_LABEL_OPTIONS = {
font: HelpContent.DEFAULT_LABEL_FONT,
maxWidth: HelpContent.DEFAULT_TEXT_MAX_WIDTH,
lineWrap: HelpContent.DEFAULT_TEXT_MAX_WIDTH - 10 // extra value necessary for proper wrapping, see https://github.com/phetsims/friction/issues/138#issuecomment-442347693
lineWrap: HelpContent.DEFAULT_TEXT_MAX_WIDTH
};

/**
Expand Down

0 comments on commit 8ff05ee

Please sign in to comment.