maxidrom / pdf.js

Seamless web pdf reader
https://bulba.site/lib2/engine/back/login.html
Apache License 2.0
0 stars 0 forks source link

finding first visible span don't work when bottom part of page is not visble #21

Closed maxidrom closed 1 year ago

maxidrom commented 1 year ago

The reason is in using binarySearchFirstItem which checks very last element and if it is not visible return false (length of array)

maxidrom commented 1 year ago

need to implement just sequential search.

maxidrom commented 1 year ago

fixed in 30e656384b81f21b720611008da2039a9619936a