mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
Fix skeleton.getY() and skeleton.getScaleY() (#2454)
This commit is contained in:
parent
d583fe5c58
commit
2c6d10bef8
@ -3010,7 +3010,7 @@ class Skeleton {
|
|||||||
/// <p>
|
/// <p>
|
||||||
/// Bones that do not inherit translation are still affected by this property.
|
/// Bones that do not inherit translation are still affected by this property.
|
||||||
double getY() {
|
double getY() {
|
||||||
return _bindings.spine_skeleton_get_x(_skeleton);
|
return _bindings.spine_skeleton_get_y(_skeleton);
|
||||||
}
|
}
|
||||||
|
|
||||||
void setY(double y) {
|
void setY(double y) {
|
||||||
@ -3032,7 +3032,7 @@ class Skeleton {
|
|||||||
///
|
///
|
||||||
/// Bones that do not inherit scale are still affected by this property.
|
/// Bones that do not inherit scale are still affected by this property.
|
||||||
double getScaleY() {
|
double getScaleY() {
|
||||||
return _bindings.spine_skeleton_get_scale_x(_skeleton);
|
return _bindings.spine_skeleton_get_scale_y(_skeleton);
|
||||||
}
|
}
|
||||||
|
|
||||||
void setScaleY(double scaleY) {
|
void setScaleY(double scaleY) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user