mirror of
https://github.com/konvajs/konva.git
synced 2025-06-28 15:23:44 +08:00
merge pull request #102
This commit is contained in:
commit
8fdab12e96
7
dist/kinetic-core.js
vendored
7
dist/kinetic-core.js
vendored
@ -6334,7 +6334,14 @@ Kinetic.TextPath.prototype = {
|
|||||||
|
|
||||||
var glyphInfo = this.glyphInfo;
|
var glyphInfo = this.glyphInfo;
|
||||||
|
|
||||||
|
var appliedShadow = this.appliedShadow;
|
||||||
for(var i = 0; i < glyphInfo.length; i++) {
|
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();
|
context.save();
|
||||||
|
|
||||||
var p0 = glyphInfo[i].p0;
|
var p0 = glyphInfo[i].p0;
|
||||||
|
4
dist/kinetic-core.min.js
vendored
4
dist/kinetic-core.min.js
vendored
File diff suppressed because one or more lines are too long
@ -52,7 +52,14 @@ Kinetic.TextPath.prototype = {
|
|||||||
|
|
||||||
var glyphInfo = this.glyphInfo;
|
var glyphInfo = this.glyphInfo;
|
||||||
|
|
||||||
|
var appliedShadow = this.appliedShadow;
|
||||||
for(var i = 0; i < glyphInfo.length; i++) {
|
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();
|
context.save();
|
||||||
|
|
||||||
var p0 = glyphInfo[i].p0;
|
var p0 = glyphInfo[i].p0;
|
||||||
|
Loading…
Reference in New Issue
Block a user