diff options
| author | bobzel <zzzman@gmail.com> | 2022-08-30 12:11:49 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2022-08-30 12:11:49 -0400 |
| commit | 5dcf35a986bb1d9dbe6c26d0a7056ac43ceed007 (patch) | |
| tree | 2eedf69b3a7e52a5d60fee09b4694113ba470264 /src/client/views/pdf/Annotation.tsx | |
| parent | 505fa1fe53b2ffc75231f2ee8a66da4be92c76c4 (diff) | |
made script caching more robust to avoid compiles and speed up startup.
Diffstat (limited to 'src/client/views/pdf/Annotation.tsx')
| -rw-r--r-- | src/client/views/pdf/Annotation.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/views/pdf/Annotation.tsx b/src/client/views/pdf/Annotation.tsx index 44f815336..ee418a02f 100644 --- a/src/client/views/pdf/Annotation.tsx +++ b/src/client/views/pdf/Annotation.tsx @@ -107,7 +107,8 @@ class RegionAnnotation extends React.Component<IRegionAnnotationProps> { pointerEvents: this.props.pointerEvents?.() as any, outline: brushed === Doc.DocBrushStatus.linkHighlighted ? 'solid 1px lightBlue' : undefined, backgroundColor: brushed === Doc.DocBrushStatus.highlighted ? 'orange' : StrCast(this.props.document.backgroundColor), - }}></div> + }} + /> ); } } |
