fix: also copy MapPosition.tilt

This commit is contained in:
Hannes Janetzek 2014-02-15 00:31:23 +01:00
parent 478078dc23
commit 77fa5b1fd0

View File

@ -75,11 +75,13 @@ public class MapPosition {
}
public void copy(MapPosition other) {
this.zoomLevel = other.zoomLevel;
this.angle = other.angle;
this.scale = other.scale;
this.x = other.x;
this.y = other.y;
this.angle = other.angle;
this.scale = other.scale;
this.tilt = other.tilt;
this.zoomLevel = other.zoomLevel;
}
/**