mirror of
https://github.com/konvajs/konva.git
synced 2025-12-27 07:05:44 +08:00
fixed up Wedge clockwise logic, and fixed dragOnTop documentation
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
/**
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user