• Robert Knight's avatar
    Use center rather than top position of anchor for bucket-on-screen test · 7d824030
    Robert Knight authored
    Use the position of the center of an anchor instead of the top to determine
    whether it should be counted as off-screen or not. Since buckets in the bucket
    bar are drawn where the center is, this ensures that on-screen buckets merge
    into off-screen ones at a natural point, instead of when there is still a gap
    between the two (for the "above screen" bucket) or after the on-screen bucket
    has gone below the "below screen" bucket.
    
    Fixes #5525
    7d824030
Name
Last commit
Last update
..
test Loading commit data...
buckets.ts Loading commit data...
emitter.ts Loading commit data...
frame.ts Loading commit data...
geometry.ts Loading commit data...
navigation-observer.ts Loading commit data...
node.ts Loading commit data...
normalize.ts Loading commit data...
scroll.ts Loading commit data...
shadow-root.ts Loading commit data...
url.ts Loading commit data...