mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
Update to latest libgdx.
This commit is contained in:
parent
9f87b95a67
commit
88f805a74e
@ -401,11 +401,11 @@ public class SkeletonTest extends ApplicationAdapter {
|
|||||||
|
|
||||||
public void clicked (InputEvent event, float x, float y) {
|
public void clicked (InputEvent event, float x, float y) {
|
||||||
if (minimizeButton.isChecked()) {
|
if (minimizeButton.isChecked()) {
|
||||||
window.getCells().get(0).setWidget(null);
|
window.getCells().get(0).setActor(null);
|
||||||
window.setHeight(20);
|
window.setHeight(20);
|
||||||
minimizeButton.setText("+");
|
minimizeButton.setText("+");
|
||||||
} else {
|
} else {
|
||||||
window.getCells().get(0).setWidget(root);
|
window.getCells().get(0).setActor(root);
|
||||||
ui.window.setHeight(Gdx.graphics.getHeight());
|
ui.window.setHeight(Gdx.graphics.getHeight());
|
||||||
minimizeButton.setText("-");
|
minimizeButton.setText("-");
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user