Fix typo in getAbsoluteRotation() code example

This commit is contained in:
Keita Urashima 2020-12-18 05:37:18 +09:00 committed by GitHub
parent e6c842c83f
commit f0a4e55b75
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() {