Skip to content

Commit

Permalink
Tweak text wrapping for goal
Browse files Browse the repository at this point in the history
  • Loading branch information
lidavidm committed May 6, 2018
1 parent 07bdb51 commit 34a530a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ui/goal.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ export default class Goal {
textGoal = templateText(this.stage.semantics, textGoal);

this.text = this.stage.allocate(gfx.text(textGoal, {
fontSize: textGoal.split(" ").length > 10 ? 17 : 20,
fontSize: 20,
font: gfx.text.sans,
wrapWidth: 60,
wrapWidth: 70,
}));
let container = null;
if (showConcreteGoal) {
Expand Down

0 comments on commit 34a530a

Please sign in to comment.