Minor cleanup
This commit is contained in:
@@ -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){
|
||||
|
||||
@@ -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{
|
||||
|
||||
Reference in New Issue
Block a user