diff options
| author | vellichora <fangrui_tong@brown.edu> | 2020-01-07 03:07:18 -0500 |
|---|---|---|
| committer | vellichora <fangrui_tong@brown.edu> | 2020-01-07 03:07:18 -0500 |
| commit | 80d4bf70cb8e29f15d8e51b1e0bd378a26d68fcf (patch) | |
| tree | 75d1a2dfd1afba84b25ad0c2e734cce68ff68f44 /src/client/views/pdf/PDFMenu.tsx | |
| parent | 5111eb546d9bcd6070ddbe8076f3389a37cd7081 (diff) | |
converted tool tip text menu to react component with basic marks and dropdown
Diffstat (limited to 'src/client/views/pdf/PDFMenu.tsx')
| -rw-r--r-- | src/client/views/pdf/PDFMenu.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/pdf/PDFMenu.tsx b/src/client/views/pdf/PDFMenu.tsx index 503696ae9..05c70b74a 100644 --- a/src/client/views/pdf/PDFMenu.tsx +++ b/src/client/views/pdf/PDFMenu.tsx @@ -98,7 +98,7 @@ export default class PDFMenu extends AntimodeMenu { } render() { - const buttons = this.Status === "pdf" ? + const buttons = this.Status === "pdf" ? [ <button key="1" className="antimodeMenu-button" title="Click to Highlight" onClick={this.highlightClicked} style={this.Highlighting ? { backgroundColor: "#121212" } : {}}> <FontAwesomeIcon icon="highlighter" size="lg" style={{ transition: "transform 0.1s", transform: this.Highlighting ? "" : "rotate(-45deg)" }} /></button>, |
