cache + pixelRatio

This commit is contained in:
lavrton
2015-02-14 22:12:54 +07:00
parent 7d65463e3c
commit c3511210f2
23 changed files with 449 additions and 85 deletions

View File

@@ -214,7 +214,7 @@ suite('Label', function() {
stage.add(layer);
cloneAndCompareLayer(layer, 150);
cloneAndCompareLayer(layer, 220);
});
});

View File

@@ -414,6 +414,7 @@ suite('Path', function() {
// ======================================================
test('Tiger (RAWR!)', function() {
this.timeout(5000);
var stage = addStage();
var layer = new Konva.Layer();
var group = new Konva.Group();

View File

@@ -143,7 +143,7 @@ suite('RegularPolygon', function() {
width : 100
});
if (!window.mochaPhantomJS) {
cloneAndCompareLayer(layer, 50);
cloneAndCompareLayer(layer, 200);
}
});