Merge pull request #1031 from ursm/patch-1

Fix typo in getAbsoluteRotation() code example
This commit is contained in:
Anton Lavrenov 2020-12-17 15:53:23 -05:00 committed by GitHub
commit 1f08a296e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1779,7 +1779,7 @@ export abstract class Node<Config extends NodeConfig = NodeConfig> {
* @name Konva.Node#getAbsoluteRotation * @name Konva.Node#getAbsoluteRotation
* @returns {Number} * @returns {Number}
* @example * @example
* // get absolute scale x * // get absolute rotation
* var rotation = node.getAbsoluteRotation(); * var rotation = node.getAbsoluteRotation();
*/ */
getAbsoluteRotation() { getAbsoluteRotation() {