mirror of
https://github.com/konvajs/konva.git
synced 2025-09-19 10:47:59 +08:00
Fixed #639
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
if (type !== 'Group' && type !== 'Shape') {
|
if (type !== 'Group' && type !== 'Shape') {
|
||||||
Kinetic.Util.error('You may only add groups and shapes to groups.');
|
Kinetic.Util.error('You may only add groups and shapes to groups.');
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
});
|
});
|
||||||
Kinetic.Util.extend(Kinetic.Group, Kinetic.Container);
|
Kinetic.Util.extend(Kinetic.Group, Kinetic.Container);
|
||||||
})();
|
})();
|
||||||
|
@@ -1218,7 +1218,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
/*
|
/**
|
||||||
* draw both scene and hit graphs. If the node being drawn is the stage, all of the layers will be cleared and redra
|
* draw both scene and hit graphs. If the node being drawn is the stage, all of the layers will be cleared and redra
|
||||||
* @method
|
* @method
|
||||||
* @memberof Kinetic.Node.prototype
|
* @memberof Kinetic.Node.prototype
|
||||||
|
@@ -136,7 +136,7 @@
|
|||||||
filterCanvas = this.filterCanvas = new Kinetic.SceneCanvas({
|
filterCanvas = this.filterCanvas = new Kinetic.SceneCanvas({
|
||||||
width: crop.width,
|
width: crop.width,
|
||||||
height: crop.height,
|
height: crop.height,
|
||||||
pixelRatio: 1,
|
pixelRatio: 1
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user