fixed _modifyPathContext optimization problem

This commit is contained in:
Eric Rowell 2012-04-04 20:46:58 -07:00
parent 0ac84408e9
commit f5b6b3c06f
3 changed files with 6 additions and 6 deletions

View File

@ -1498,10 +1498,10 @@ Kinetic.Stage.prototype = {
context.fill = function() {
};
context.fillRect = function(x, y, width, height) {
layer.context.rect(x, y, width, height);
context.rect(x, y, width, height);
};
context.strokeRect = function(x, y, width, height) {
layer.context.rect(x, y, width, height);
context.rect(x, y, width, height);
};
context.drawImage = function() {
};

File diff suppressed because one or more lines are too long

View File

@ -585,10 +585,10 @@ Kinetic.Stage.prototype = {
context.fill = function() {
};
context.fillRect = function(x, y, width, height) {
layer.context.rect(x, y, width, height);
context.rect(x, y, width, height);
};
context.strokeRect = function(x, y, width, height) {
layer.context.rect(x, y, width, height);
context.rect(x, y, width, height);
};
context.drawImage = function() {
};