better toDataURL for shapes

This commit is contained in:
Anton Lavrenov
2018-08-01 09:26:13 +07:00
parent 40416a0cee
commit 98d2d6ffe0
5 changed files with 55 additions and 9 deletions

View File

@@ -1,6 +1,7 @@
suite('BaseLayer', function() {
// ======================================================
test('width and height', function() {
Konva.showWarnings = false;
var stage = addStage();
var layer = new Konva.FastLayer();
@@ -52,5 +53,6 @@ suite('BaseLayer', function() {
stage.height(),
'while layer is on stage changing height doing nothing'
);
Konva.showWarnings = true;
});
});