Skip to content

Commit

Permalink
Merge pull request #697 from newnon/develop
Browse files Browse the repository at this point in the history
Label dimensions fix
  • Loading branch information
slembcke committed Apr 15, 2014
2 parents 6ad622f + cd47bdb commit d3a8c55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cocos2d/CCLabelTTF.m
Expand Up @@ -478,7 +478,7 @@ - (CCTexture*) createTextureWithAttributedString:(NSAttributedString*)attributed
originalDimensions.width *= scale;
originalDimensions.height *= scale;

CGSize dimensions = originalDimensions;
CGSize dimensions = [self convertContentSizeToPoints:originalDimensions type:_dimensionsType];

CGFloat shadowBlurRadius = _shadowBlurRadius * scale;
CGPoint shadowOffset = ccpMult(self.shadowOffsetInPoints, scale);
Expand Down

0 comments on commit d3a8c55

Please sign in to comment.