fixed up Wedge clockwise logic, and fixed dragOnTop documentation

This commit is contained in:
Eric Rowell
2013-02-12 22:12:25 -08:00
parent 66cc6cd98c
commit d8d17eb6ef
2 changed files with 3 additions and 3 deletions

View File

@@ -222,7 +222,7 @@
* temporary top layer to improve performance. The default is true
* @name setDragOnTop
* @methodOf Kinetic.Node.prototype
* @param {Function} dragOnTop
* @param {Boolean} dragOnTop
*/
/**

View File

@@ -19,7 +19,7 @@
this.setDefaultAttrs({
radius: 0,
angle: 0,
clickwise: true
clockwise: false
});
// call super constructor
@@ -74,7 +74,7 @@
/**
* set clockwise draw direction. If set to true, the wedge will be drawn clockwise
* If set to false, the wedge will be drawn anti-clockwise. The default is true.
* If set to false, the wedge will be drawn anti-clockwise. The default is false.
* @name setClockwise
* @methodOf Kinetic.Wedge.prototype
* @param {Boolean} clockwise