diff options
-rw-r--r-- | platform/ios/Classes/MuPageViewNormal.m | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/platform/ios/Classes/MuPageViewNormal.m b/platform/ios/Classes/MuPageViewNormal.m index 3c25475e..b34cb705 100644 --- a/platform/ios/Classes/MuPageViewNormal.m +++ b/platform/ios/Classes/MuPageViewNormal.m @@ -423,8 +423,14 @@ static UIImage *renderPage(fz_document *doc, fz_display_list *page_list, fz_disp else imageView.frame = frameToCenter; - if (hitView && imageView) - [hitView setFrame: [imageView frame]]; + if (imageView) + { + if (hitView) + [hitView setFrame: [imageView frame]]; + + if (linkView) + [linkView setFrame:[imageView frame]]; + } } - (UIView*) viewForZoomingInScrollView: (UIScrollView*)scrollView @@ -483,6 +489,8 @@ static UIImage *renderPage(fz_document *doc, fz_display_list *page_list, fz_disp [self addSubview: tileView]; if (hitView) [self bringSubviewToFront: hitView]; + if (linkView) + [self bringSubviewToFront:linkView]; } else { printf("discard tile\n"); } |