• Robert Knight's avatar
    Update annotation tag and anchoring status via a Redux action (#70) · cecb3b66
    Robert Knight authored
    Update an annotation's anchoring status and local tag via a Redux action
    rather than just direct assignment to the annotation's properties.  This
    ensures that store subscribers and a digest cycle happen after the
    anchoring status changes. This in turn ensures that the UI state is kept
    in sync.
    
    This also brings us another step closer to being able to make annotation
    objects immutable within the sidebar app.
    cecb3b66
annotation-ui.js 11.6 KB