merge pull request #102

This commit is contained in:
ericdrowell 2012-09-25 16:07:28 -07:00
commit 8fdab12e96
3 changed files with 16 additions and 2 deletions

View File

@ -6334,7 +6334,14 @@ Kinetic.TextPath.prototype = {
var glyphInfo = this.glyphInfo;
var appliedShadow = this.appliedShadow;
for(var i = 0; i < glyphInfo.length; i++) {
/*
* need to reset appliedShadow flag so that shadows
* are appropriately applied to each line of text
*/
this.appliedShadow = appliedShadow;
context.save();
var p0 = glyphInfo[i].p0;

File diff suppressed because one or more lines are too long

View File

@ -52,7 +52,14 @@ Kinetic.TextPath.prototype = {
var glyphInfo = this.glyphInfo;
var appliedShadow = this.appliedShadow;
for(var i = 0; i < glyphInfo.length; i++) {
/*
* need to reset appliedShadow flag so that shadows
* are appropriately applied to each line of text
*/
this.appliedShadow = appliedShadow;
context.save();
var p0 = glyphInfo[i].p0;