mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-03-13 19:39:04 +07:00
Input cleanup
This commit is contained in:
parent
94b6c133f4
commit
b6beacf053
@ -202,9 +202,6 @@ public class DesktopInput extends InputHandler{
|
||||
Tile selected = tileAt(Gdx.input.getX(), Gdx.input.getY());
|
||||
int cursorX = tileX(Gdx.input.getX());
|
||||
int cursorY = tileY(Gdx.input.getY());
|
||||
//if(cursor == null){
|
||||
// return;
|
||||
//}
|
||||
|
||||
if(Inputs.keyTap(section, "deselect")){
|
||||
player.setMineTile(null);
|
||||
|
@ -191,6 +191,10 @@ public abstract class InputHandler extends InputAdapter{
|
||||
consumed = true;
|
||||
frag.config.hideConfig();
|
||||
}
|
||||
|
||||
if(frag.config.isShown()){
|
||||
consumed = true;
|
||||
}
|
||||
}
|
||||
|
||||
//call tapped event
|
||||
|
Loading…
Reference in New Issue
Block a user