mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-10 18:57:39 +07:00
Minor UI tweaks
This commit is contained in:
parent
eb8479f7f7
commit
1716076cdf
@ -704,6 +704,7 @@ public abstract class InputHandler implements InputProcessor, GestureListener{
|
||||
}
|
||||
|
||||
public void add(){
|
||||
Core.input.getInputProcessors().remove(i -> i instanceof InputHandler || (i instanceof GestureDetector && ((GestureDetector)i).getListener() instanceof InputHandler));
|
||||
Core.input.addProcessor(detector = new GestureDetector(20, 0.5f, 0.3f, 0.15f, this));
|
||||
Core.input.addProcessor(this);
|
||||
if(Core.scene != null){
|
||||
|
@ -258,7 +258,7 @@ public class MobileInput extends InputHandler implements GestureListener{
|
||||
selectRequests.clear();
|
||||
mode = none;
|
||||
block = null;
|
||||
}).width(155f).margin(16f);
|
||||
}).width(155f).margin(12f);
|
||||
});
|
||||
|
||||
group.fill(t -> {
|
||||
|
@ -1,3 +1,3 @@
|
||||
org.gradle.daemon=true
|
||||
org.gradle.jvmargs=-Xms256m -Xmx1024m
|
||||
archash=1bb6b5430668b3c15657c2efbde5ec3d7bc11651
|
||||
archash=b54ec5513f66ad97f191b46da10f6c61046a301a
|
||||
|
Loading…
Reference in New Issue
Block a user