Trying improvements for webtoon viewer. #71

This commit is contained in:
inorichi 2016-01-29 14:54:53 +01:00
parent 4b60560a9f
commit ea4fa60e01
2 changed files with 8 additions and 13 deletions

View file

@ -870,7 +870,7 @@ public class SubsamplingScaleImageView extends View {
}
// When using tiles, on first render with no tile map ready, initialise it and kick off async base image loading.
if (tileMap == null && decoder != null) {
if (tileMap == null && decoder != null && cWidth == 0 && cHeight == 0) {
initialiseBaseLayer(getMaxBitmapDimensions(canvas));
}