mirror of
https://github.com/konvajs/konva.git
synced 2025-09-18 18:27:58 +08:00
fixed up text path draw func
This commit is contained in:
@@ -647,7 +647,7 @@ Test.Modules.CONTAINER = {
|
||||
test(group.get('Group').length === 0, 'group should have 0 groups');
|
||||
|
||||
},
|
||||
'node and shape type selector': function(containerId) {
|
||||
'*node and shape type selector': function(containerId) {
|
||||
var stage = new Kinetic.Stage({
|
||||
container: containerId,
|
||||
width: 578,
|
||||
@@ -781,6 +781,12 @@ Test.Modules.CONTAINER = {
|
||||
test(group.get('Group').length === 0, 'group should have 0 groups');
|
||||
test(group.get('Rect').length === 1, 'group should have 1 rects');
|
||||
test(group.get('Circle').length === 1, 'gropu should have 1 circles');
|
||||
|
||||
stage.toDataURL({
|
||||
callback: function(dataUrl) {
|
||||
test(dataUrl === nodeShapeTypeSelector, 'problem with node and shape type selector render.');
|
||||
}
|
||||
});
|
||||
},
|
||||
'remove shape': function(containerId) {
|
||||
var stage = new Kinetic.Stage({
|
||||
|
Reference in New Issue
Block a user