made pause/tutorial panes not touchable

This commit is contained in:
Anuken 2019-08-08 21:57:13 -04:00
parent 70a4c2f3ed
commit 69e7b442e2

View File

@ -314,6 +314,7 @@ public class HudFragment extends Fragment{
//tutorial text
parent.fill(t -> {
t.touchable(Touchable.disabled);
Runnable resize = () -> {
t.clearChildren();
t.top().right().visible(() -> state.rules.tutorial);
@ -326,7 +327,7 @@ public class HudFragment extends Fragment{
//paused table
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));
});