File tree 4 files changed +13
-2
lines changed
4 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -807,11 +807,14 @@ class PopupAnnotationElement extends AnnotationElement {
807
807
// PDF viewers ignore a popup annotation's rectangle.
808
808
const parentTop = parseFloat ( parentElement . style . top ) ,
809
809
parentLeft = parseFloat ( parentElement . style . left ) ,
810
- parentWidth = parseFloat ( parentElement . style . width ) ;
810
+ parentWidth = parseFloat ( parentElement . style . width ) ,
811
+ parentHeight = parseFloat ( parentElement . style . height ) ;
811
812
const popupLeft = parentLeft + parentWidth ;
813
+ const popupTop = parentTop + parentHeight ;
812
814
813
815
this . container . style . transformOrigin = `${ - popupLeft } px ${ - parentTop } px` ;
814
816
this . container . style . left = `${ popupLeft } px` ;
817
+ this . container . style . top = `${ popupTop } px` ;
815
818
816
819
this . container . appendChild ( popup . render ( ) ) ;
817
820
return this . container ;
Original file line number Diff line number Diff line change 400
400
! tiling-pattern-large-steps.pdf
401
401
! issue11555.pdf
402
402
! issue12337.pdf
403
+ ! pr12564.pdf
Original file line number Diff line number Diff line change 4784
4784
"rounds" : 2 ,
4785
4785
"lastPage" : 1 ,
4786
4786
"type" : " fbf"
4787
- }
4787
+ },
4788
+ { "id" : " pr12564" ,
4789
+ "file" : " pdfs/pr12564.pdf" ,
4790
+ "md5" : " 8033857922eb03d050f6a04c2f5e9851" ,
4791
+ "rounds" : 1 ,
4792
+ "type" : " eq" ,
4793
+ "annotations" : true
4794
+ },
4788
4795
]
You can’t perform that action at this time.
0 commit comments