mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 15:24:55 +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>
|
||||
/// Bones that do not inherit translation are still affected by this property.
|
||||
double getY() {
|
||||
return _bindings.spine_skeleton_get_x(_skeleton);
|
||||
return _bindings.spine_skeleton_get_y(_skeleton);
|
||||
}
|
||||
|
||||
void setY(double y) {
|
||||
@ -3032,7 +3032,7 @@ class Skeleton {
|
||||
///
|
||||
/// Bones that do not inherit scale are still affected by this property.
|
||||
double getScaleY() {
|
||||
return _bindings.spine_skeleton_get_scale_x(_skeleton);
|
||||
return _bindings.spine_skeleton_get_scale_y(_skeleton);
|
||||
}
|
||||
|
||||
void setScaleY(double scaleY) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user