• Eduardo Sanz García's avatar
    Focus on annotations rely on inter-frame communication · d9966ae4
    Eduardo Sanz García authored
    `BucketBar` was setting the focus when hovering on the left-pointed
    buckets. That relied on direct access to the anchors, which it is not
    always possible. Instead, now the `BucketBar` communicates with a new
    RPC event, `focusAnnotations`, in the `guest-host` channel (analogous to
    the `focusAnnotations` in the `sidebar-guest` channel.
    
    I have made a small improvement: when hovering a left-pointed bucket,
    not only focus the anchor's highlights but also the corresponding
    annotation cards in the sidebar. The same can be done for top and
    bottom-pointed buckets.
    d9966ae4
Name
Last commit
Last update
..
annotator.js Loading commit data...
api.js Loading commit data...
config.js Loading commit data...
pdfjs.js Loading commit data...
port-rpc-events.d.ts Loading commit data...
process.d.ts Loading commit data...
rpc.js Loading commit data...
sidebar.js Loading commit data...