Bugfixes / New campaign map

This commit is contained in:
Anuken
2020-11-13 19:03:27 -05:00
parent 04c465c8f0
commit 7559996227
8 changed files with 42 additions and 27 deletions

View File

@@ -61,7 +61,7 @@ public class DesktopInput extends InputHandler{
t.visible(() -> {
t.color.a = Mathf.lerpDelta(t.color.a, player.builder().isBuilding() ? 1f : 0f, 0.15f);
return Core.settings.getBool("hints") && selectRequests.isEmpty() && t.color.a > 0.01f;
return ui.hudfrag.shown && Core.settings.getBool("hints") && selectRequests.isEmpty() && t.color.a > 0.01f;
});
t.touchable(() -> t.color.a < 0.1f ? Touchable.disabled : Touchable.childrenOnly);
t.table(Styles.black6, b -> {
@@ -75,7 +75,7 @@ public class DesktopInput extends InputHandler{
});
group.fill(t -> {
t.visible(() -> lastSchematic != null && !selectRequests.isEmpty());
t.visible(() -> ui.hudfrag.shown && lastSchematic != null && !selectRequests.isEmpty());
t.bottom();
t.table(Styles.black6, b -> {
b.defaults().left();