Fixed command mode button not showing up after toggling editor blocks on mobile
This commit is contained in:
@@ -291,7 +291,7 @@ public class MobileInput extends InputHandler implements GestureListener{
|
||||
});
|
||||
|
||||
group.fill(t -> {
|
||||
t.visible(() -> !hasSchematic() && !Core.settings.getBool("editor-blocks-shown"));
|
||||
t.visible(() -> !hasSchematic() && !(state.isEditor() && Core.settings.getBool("editor-blocks-shown")));
|
||||
t.bottom().left();
|
||||
|
||||
t.button("@command.queue", Icon.rightOpen, Styles.clearTogglet, () -> {
|
||||
|
||||
Reference in New Issue
Block a user