made pause/tutorial panes not touchable
This commit is contained in:
@@ -314,6 +314,7 @@ public class HudFragment extends Fragment{
|
|||||||
|
|
||||||
//tutorial text
|
//tutorial text
|
||||||
parent.fill(t -> {
|
parent.fill(t -> {
|
||||||
|
t.touchable(Touchable.disabled);
|
||||||
Runnable resize = () -> {
|
Runnable resize = () -> {
|
||||||
t.clearChildren();
|
t.clearChildren();
|
||||||
t.top().right().visible(() -> state.rules.tutorial);
|
t.top().right().visible(() -> state.rules.tutorial);
|
||||||
@@ -326,7 +327,7 @@ public class HudFragment extends Fragment{
|
|||||||
|
|
||||||
//paused table
|
//paused table
|
||||||
parent.fill(t -> {
|
parent.fill(t -> {
|
||||||
t.top().visible(() -> state.isPaused());
|
t.top().visible(() -> state.isPaused()).touchable(Touchable.disabled);
|
||||||
t.table("button-trans", top -> top.add("$paused").pad(5f));
|
t.table("button-trans", top -> top.add("$paused").pad(5f));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user