mirror of
https://github.com/konvajs/konva.git
synced 2026-01-23 13:26:07 +08:00
more unit tests working, more refactoring
This commit is contained in:
@@ -4,7 +4,7 @@ suite('Container', function() {
|
||||
test('clip', function() {
|
||||
var stage = addStage();
|
||||
var layer = new Kinetic.Layer({
|
||||
clip: [0, 0, stage.getWidth() / 2, 100]
|
||||
clip: {x:0, y:0, width:stage.getWidth() / 2, height:100}
|
||||
});
|
||||
var group = new Kinetic.Group();
|
||||
var circle = new Kinetic.Circle({
|
||||
|
||||
Reference in New Issue
Block a user