Merge pull request #743 from naqtn/master

Fix doc of `Node.getAbsoluteScale()` return type
This commit is contained in:
Anton Lavrenov 2019-09-17 06:44:46 -05:00 committed by GitHub
commit db4f714527
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1681,7 +1681,10 @@ export abstract class Node<Config extends NodeConfig = NodeConfig> {
* account its ancestor scales
* @method
* @name Konva.Node#getAbsoluteScale
* @returns {Konva.Transform}
* @returns {Object}
* @example
* // get absolute scale x
* var scaleX = node.getAbsoluteScale().x;
*/
getAbsoluteScale(top?) {
// if using an argument, we can't cache the result.