mirror of
https://github.com/konvajs/konva.git
synced 2026-03-03 16:58:33 +08:00
all methods are now copied to Collection prototype so that you don't have to use the each() method all the time
This commit is contained in:
@@ -333,5 +333,5 @@
|
||||
* layer.hitGraphEnabled(true);
|
||||
*/
|
||||
|
||||
Kinetic.Layer.prototype.isHitGraphEnabled = Kinetic.Layer.prototype.getHitGraphEnabled;
|
||||
Kinetic.Collection.mapMethods(Kinetic.Layer);
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user