Fix skeleton.getY() and skeleton.getScaleY() (#2454)

This commit is contained in:
Kaisei 2024-01-22 23:14:26 +09:00 committed by GitHub
parent d583fe5c58
commit 2c6d10bef8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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) {