mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-11 07:39:39 +07:00
made pause/tutorial panes not touchable
This commit is contained in:
parent
70a4c2f3ed
commit
69e7b442e2
@ -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));
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user