diff options
| author | Hannah Chow <hannah_chow@brown.edu> | 2019-03-10 22:43:35 -0400 |
|---|---|---|
| committer | Hannah Chow <hannah_chow@brown.edu> | 2019-03-10 22:43:35 -0400 |
| commit | 018d92a8a49e7e1a3a41ae87e24a9a8ba60619d6 (patch) | |
| tree | 5a913a95fce74cafb0ba86034f0a001fdb5f52cb /src/client/views/DocumentDecorations.tsx | |
| parent | 69d42193bf187a8a61e475a0587d55e29b644394 (diff) | |
almost done
Diffstat (limited to 'src/client/views/DocumentDecorations.tsx')
| -rw-r--r-- | src/client/views/DocumentDecorations.tsx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/client/views/DocumentDecorations.tsx b/src/client/views/DocumentDecorations.tsx index 22d34127d..8c3913232 100644 --- a/src/client/views/DocumentDecorations.tsx +++ b/src/client/views/DocumentDecorations.tsx @@ -184,6 +184,10 @@ export class DocumentDecorations extends React.Component { document.removeEventListener("pointerup", this.onPointerUp); } } + + changeFlyoutContent = (): void => { + + } // buttonOnPointerUp = (e: React.PointerEvent): void => { // e.stopPropagation(); // } @@ -203,7 +207,7 @@ export class DocumentDecorations extends React.Component { linkButton = (<Flyout anchorPoint={anchorPoints.RIGHT_TOP} content={ - <LinkMenu docView={SelectionManager.SelectedDocuments()[0]}> + <LinkMenu docView={SelectionManager.SelectedDocuments()[0]} changeFlyout={this.changeFlyoutContent}> </LinkMenu> }> <div id="linkButton" onPointerDown={this.onLinkButtonDown} ref={this._linkButton}></div> |
