From be751f5b28be2840139b2973cbcc6c094fc94473 Mon Sep 17 00:00:00 2001 From: Anuken Date: Thu, 11 May 2023 15:24:41 -0400 Subject: [PATCH] Minor cleanup --- core/assets/bundles/bundle.properties | 2 -- core/src/mindustry/input/MobileInput.java | 1 - core/src/mindustry/ui/dialogs/MapListDialog.java | 2 +- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/core/assets/bundles/bundle.properties b/core/assets/bundles/bundle.properties index 44c94fb788..c7d8db925b 100644 --- a/core/assets/bundles/bundle.properties +++ b/core/assets/bundles/bundle.properties @@ -1790,8 +1790,6 @@ hint.launch.mobile = Once enough resources are collected, you can [accent]Launch hint.schematicSelect = Hold [accent][[F][] and drag to select blocks to copy and paste.\n\n[accent][[Middle Click][] to copy a single block type. hint.rebuildSelect = Hold [accent][[B][] and drag to select destroyed block plans.\nThis will rebuild them automatically. hint.rebuildSelect.mobile = Select the \ue874 copy button, then tap the \ue80f rebuild button and drag to select destroyed block plans.\nThis will rebuild them automatically. - - hint.conveyorPathfind = Hold [accent][[L-Ctrl][] while dragging conveyors to automatically generate a path. hint.conveyorPathfind.mobile = Enable \uE844 [accent]diagonal mode[] and drag conveyors to automatically generate a path. hint.boost = Hold [accent][[L-Shift][] to fly over obstacles with your current unit.\n\nOnly a few ground units have boosters. diff --git a/core/src/mindustry/input/MobileInput.java b/core/src/mindustry/input/MobileInput.java index b70d09228f..aec370fb38 100644 --- a/core/src/mindustry/input/MobileInput.java +++ b/core/src/mindustry/input/MobileInput.java @@ -376,7 +376,6 @@ public class MobileInput extends InputHandler implements GestureListener{ @Override public void drawTop(){ - //draw schematic selection if(mode == schematicSelect){ drawSelection(lineStartX, lineStartY, lastLineX, lastLineY, Vars.maxSchematicSize); }else if(mode == rebuildSelect){ diff --git a/core/src/mindustry/ui/dialogs/MapListDialog.java b/core/src/mindustry/ui/dialogs/MapListDialog.java index 46d86dc9a9..2425915f2e 100644 --- a/core/src/mindustry/ui/dialogs/MapListDialog.java +++ b/core/src/mindustry/ui/dialogs/MapListDialog.java @@ -60,7 +60,7 @@ public abstract class MapListDialog extends BaseDialog{ searchString = null; - if(Core.graphics.isPortrait()){ + if(Core.graphics.isPortrait() && displayType){ buttons.button("@back", Icon.left, this::hide).size(210f * 2f, 64f).colspan(2); buttons.row(); }else{