Fixed minor bug with camera panning out of bounds
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user