mirror of
https://github.com/konvajs/konva.git
synced 2026-01-18 19:51:21 +08:00
new Canvas class to decouple layer and canvas, providing more flexibility. drawing operations now require a canvas object rather than an optional layer which contained a canvas. fixed some transformation issues introduced with a pull request that I pulled in last week
This commit is contained in:
@@ -152,7 +152,7 @@ Test.prototype.tests = {
|
||||
context.quadraticCurveTo(300, 100, 260, 170);
|
||||
context.closePath();
|
||||
context.fillStyle = 'blue';
|
||||
context.fill();
|
||||
context.fill(context);
|
||||
},
|
||||
draggable: true
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user