mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 22:34:53 +08:00
[libgdx] Reset rotation direction when changing TrackEntry alpha.
This commit is contained in:
parent
dced060658
commit
e7d25dc2cb
@ -597,7 +597,10 @@ public class SkeletonViewer extends ApplicationAdapter {
|
||||
int track = trackButtons.getCheckedIndex();
|
||||
if (track > 0) {
|
||||
TrackEntry current = state.getCurrent(track);
|
||||
if (current != null) current.setAlpha(alphaSlider.getValue());
|
||||
if (current != null) {
|
||||
current.setAlpha(alphaSlider.getValue());
|
||||
current.resetRotationDirections();
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user