aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/pdf/Annotation.tsx
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2019-10-04 23:45:01 -0400
committerBob Zeleznik <zzzman@gmail.com>2019-10-04 23:45:01 -0400
commitd611773fc805082a935cae49723d516ce66e1a14 (patch)
tree88f7478e5d9dcb80ef339ffb04ca716b7284f4b2 /src/client/views/pdf/Annotation.tsx
parentdcaad9277d2b25e1707964c442c4d19aae59d533 (diff)
more pdf cleanup. fix to mix-multiply-mode for better highlighters/opacity. small text box fixes.
Diffstat (limited to 'src/client/views/pdf/Annotation.tsx')
-rw-r--r--src/client/views/pdf/Annotation.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/pdf/Annotation.tsx b/src/client/views/pdf/Annotation.tsx
index 134e757d1..4bb166ffe 100644
--- a/src/client/views/pdf/Annotation.tsx
+++ b/src/client/views/pdf/Annotation.tsx
@@ -122,9 +122,9 @@ class RegionAnnotation extends React.Component<IRegionAnnotationProps> {
left: this.props.x,
width: this.props.width,
height: this.props.height,
- transition: "opacity 0.5s",
opacity: this._brushed ? 0.5 : undefined,
- backgroundColor: this._brushed ? "orange" : StrCast(this.props.document.color)
+ backgroundColor: this._brushed ? "orange" : StrCast(this.props.document.backgroundColor),
+ transition: "opacity 0.5s",
}} />);
}
} \ No newline at end of file