Fixed minor bug with camera panning out of bounds

This commit is contained in:
Anuken
2017-06-29 15:06:24 -04:00
parent bca8271c07
commit ec0aa2d2f3
3 changed files with 10 additions and 3 deletions

View File

@@ -104,6 +104,8 @@ public class AndroidInput extends InputAdapter{
Tile sel = selected();
if(sel == null) return;
if(warmup > warmupDelay && sel.block() != ProductionBlocks.core && sel.breakable()){
breaktime += Mathf.delta();

View File

@@ -45,8 +45,6 @@ public class GestureHandler extends GestureAdapter{
return false;
}
@Override
public boolean pinch (Vector2 initialPointer1, Vector2 initialPointer2, Vector2 pointer1, Vector2 pointer2) {
if(recipe == null)