mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-26 06:22:17 -08:00
made pause/tutorial panes not touchable
This commit is contained in:
parent
70a4c2f3ed
commit
69e7b442e2
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue