diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2019-08-07 23:30:30 -0400 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2019-08-07 23:30:30 -0400 |
commit | 1d770231e7ae6ab2dba7983eb55481e1dd77d42a (patch) | |
tree | 873ec56c3c676e7cd4117b8f69b5d09afe869f59 /src/client/views/SearchItem.tsx | |
parent | 87276c9f0698b839089f34432763463d46eec60b (diff) | |
parent | d93219266fe09aefec5bf82808ea286ad6ea3710 (diff) |
Merge branch 'pdfAnnotations'
Diffstat (limited to 'src/client/views/SearchItem.tsx')
-rw-r--r-- | src/client/views/SearchItem.tsx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/client/views/SearchItem.tsx b/src/client/views/SearchItem.tsx index 13e4b88f7..fd4b2420d 100644 --- a/src/client/views/SearchItem.tsx +++ b/src/client/views/SearchItem.tsx @@ -37,12 +37,10 @@ export class SearchItem extends React.Component<SearchProps> { return <FontAwesomeIcon icon={button} className="documentView-minimizedIcon" />; } onPointerEnter = (e: React.PointerEvent) => { - this.props.doc.libraryBrush = true; - Doc.SetOnPrototype(this.props.doc, "protoBrush", true); + Doc.BrushDoc(this.props.doc); } onPointerLeave = (e: React.PointerEvent) => { - this.props.doc.libraryBrush = false; - Doc.SetOnPrototype(this.props.doc, "protoBrush", false); + Doc.UnBrushDoc(this.props.doc); } collectionRef = React.createRef<HTMLDivElement>(); |