mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
[libgdx] SkeletonViewer keeps loop state for tracks playing.
This commit is contained in:
parent
3b6b0f52e2
commit
7e75c7c5b1
@ -739,6 +739,8 @@ public class SkeletonViewer extends ApplicationAdapter {
|
|||||||
|
|
||||||
alphaSlider.setDisabled(track == 0);
|
alphaSlider.setDisabled(track == 0);
|
||||||
alphaSlider.setValue(current == null ? 1 : current.alpha);
|
alphaSlider.setValue(current == null ? 1 : current.alpha);
|
||||||
|
|
||||||
|
if (current != null) loopCheckbox.setChecked(current.getLoop());
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
for (TextButton button : trackButtons.getButtons())
|
for (TextButton button : trackButtons.getButtons())
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user