Minor cleanup

This commit is contained in:
Anuken 2023-05-11 15:24:41 -04:00
parent d34631458e
commit be751f5b28
3 changed files with 1 additions and 4 deletions

View file

@ -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.

View file

@ -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){

View file

@ -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{