Download layer (fix button download)

This commit is contained in:
Victor Shcherb 2014-07-06 16:24:41 +02:00
parent a449658b41
commit 096ec7d8ab

View file

@ -691,8 +691,6 @@ public class MapRenderRepositories {
Bitmap reuse = prevBmp;
this.prevBmp = this.bmp;
this.prevBmpLocation = this.bmpLocation;
this.checkedRenderedState = renderedState;
this.checkedBox = this.bmpLocation;
if (reuse != null && reuse.getWidth() == currentRenderingContext.width && reuse.getHeight() == currentRenderingContext.height) {
bmp = reuse;
bmp.eraseColor(currentRenderingContext.defaultColor);
@ -734,6 +732,9 @@ public class MapRenderRepositories {
}
currentRenderingContext = null;
return;
} else {
this.checkedRenderedState = renderedState;
this.checkedBox = this.bmpLocation;
}
currentRenderingContext = null;