mirror of
https://github.com/konvajs/konva.git
synced 2025-09-19 02:37:59 +08:00
moved all rendering logic into the Canvas renderer modules. Shape draw funcs are now passed a renderer object, not a canvas context. The context is accessible via canvas.getContext()
This commit is contained in:
@@ -625,8 +625,11 @@ Test.Modules.CONTAINER = {
|
||||
test(group.get('Rect').length === 1, 'group should have 1 rects');
|
||||
test(group.get('Circle').length === 1, 'gropu should have 1 circles');
|
||||
|
||||
//console.log(dataUrls['node shape type selector']);
|
||||
|
||||
stage.toDataURL({
|
||||
callback: function(dataUrl) {
|
||||
//console.log(dataUrl)
|
||||
warn(dataUrl === dataUrls['node shape type selector'], 'problem with node and shape type selector render.');
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user