Skip to content

Conversation

TimvdEijnden
Copy link
Contributor

This is a very small fix for an annoying problem.
I'm using the following line to add lineSpacing:
this.questionText.lineSpacing = 20;

Then this happens:
screen shot 2014-11-25 at 16 48 03
Here the complete text moves 20px down.

This is what should happen (with the fix):
screen shot 2014-11-25 at 16 48 40
Here all lines have the correct lineSpacing of 20px.

Example: http://jsfiddle.net/q4r45cxq/

photonstorm added a commit that referenced this pull request Nov 25, 2014
fix issue with lineSpacing, no space was added between the lines. The co...
@photonstorm photonstorm merged commit bc588ef into phaserjs:dev Nov 25, 2014
@photonstorm
Copy link
Collaborator

👍

photonstorm added a commit that referenced this pull request Nov 25, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants