mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
Trying improvements for webtoon viewer. #71
This commit is contained in:
parent
4b60560a9f
commit
ea4fa60e01
2 changed files with 8 additions and 13 deletions
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue