• Robert Knight's avatar
    Make showing highlights when creating an annotation work for all guests · 565b543d
    Robert Knight authored
    Change the logic for making highlights visible when creating a new
    annotation, so that it works if the annotation was created in a non-host
    frame.
    
    This is done by moving the logic from the `beforeAnnotationCreated`
    handler in the Sidebar class, which was only called for annotations in
    the host frame, to the `beforeCreateAnnotation` handler in
    FrameSyncService, which is called for all frames. The sidebar app will
    then send a request to show highlights to the host frame, which will
    update the sidebar's controls and then relay the request to guest
    frames.
    565b543d
Name
Last commit
Last update
..
annotator Loading commit data...
boot Loading commit data...
images/icons Loading commit data...
shared Loading commit data...
sidebar Loading commit data...
styles Loading commit data...
test-util Loading commit data...
types Loading commit data...
.eslintrc Loading commit data...
karma.config.js Loading commit data...
tsconfig.json Loading commit data...