Fix autozoom erros and rotate
This commit is contained in:
parent
75e9f6fcf2
commit
0104124875
2 changed files with 2 additions and 2 deletions
|
@ -592,7 +592,7 @@ public class MapRenderRepositories {
|
||||||
bmp.eraseColor(currentRenderingContext.defaultColor);
|
bmp.eraseColor(currentRenderingContext.defaultColor);
|
||||||
} else {
|
} else {
|
||||||
if(reuse != null){
|
if(reuse != null){
|
||||||
log.error(String.format("Create new image ? %d != %d (w) %d != %d (h) ", currentRenderingContext.width, reuse.getWidth(), currentRenderingContext.height, reuse.getHeight()));
|
log.warn(String.format("Create new image ? %d != %d (w) %d != %d (h) ", currentRenderingContext.width, reuse.getWidth(), currentRenderingContext.height, reuse.getHeight()));
|
||||||
}
|
}
|
||||||
bmp = Bitmap.createBitmap(currentRenderingContext.width, currentRenderingContext.height, Config.RGB_565);
|
bmp = Bitmap.createBitmap(currentRenderingContext.width, currentRenderingContext.height, Config.RGB_565);
|
||||||
}
|
}
|
||||||
|
|
|
@ -63,8 +63,8 @@ public class AnimateDraggingMapThread {
|
||||||
tileView.rotateToAnimate(rotationDiff / 5 + tileView.getRotate());
|
tileView.rotateToAnimate(rotationDiff / 5 + tileView.getRotate());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
targetRotate = -720;
|
|
||||||
} while (conditionToCountinue && tileView.isMapRotateEnabled());
|
} while (conditionToCountinue && tileView.isMapRotateEnabled());
|
||||||
|
targetRotate = -720;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue