mirror of
https://github.com/konvajs/konva.git
synced 2025-11-18 09:07:30 +08:00
fixed up text path draw func
This commit is contained in:
1
tests/dataUrls/nodeShapeTypeSelector.js
Normal file
1
tests/dataUrls/nodeShapeTypeSelector.js
Normal file
File diff suppressed because one or more lines are too long
@@ -12,6 +12,7 @@
|
||||
<script src="../dataUrls/groupToImage.js"></script>
|
||||
<script src="../dataUrls/customShapeTwoFills.js"></script>
|
||||
<script src="../dataUrls/cloneGroup.js"></script>
|
||||
<script src="../dataUrls/nodeShapeTypeSelector.js"></script>
|
||||
|
||||
|
||||
<script src="../js/Test.js"></script>
|
||||
|
||||
@@ -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