aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/pdf/Annotation.tsx
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2019-08-07 23:30:30 -0400
committerBob Zeleznik <zzzman@gmail.com>2019-08-07 23:30:30 -0400
commit1d770231e7ae6ab2dba7983eb55481e1dd77d42a (patch)
tree873ec56c3c676e7cd4117b8f69b5d09afe869f59 /src/client/views/pdf/Annotation.tsx
parent87276c9f0698b839089f34432763463d46eec60b (diff)
parentd93219266fe09aefec5bf82808ea286ad6ea3710 (diff)
Merge branch 'pdfAnnotations'
Diffstat (limited to 'src/client/views/pdf/Annotation.tsx')
-rw-r--r--src/client/views/pdf/Annotation.tsx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/client/views/pdf/Annotation.tsx b/src/client/views/pdf/Annotation.tsx
index 2610f6c6e..7ba7b6d14 100644
--- a/src/client/views/pdf/Annotation.tsx
+++ b/src/client/views/pdf/Annotation.tsx
@@ -120,10 +120,10 @@ class RegionAnnotation extends React.Component<IRegionAnnotationProps> {
render() {
return (<div className="pdfAnnotation" onPointerDown={this.onPointerDown} ref={this._mainCont}
style={{
- top: this.props.y * scale,
- left: this.props.x * scale,
- width: this.props.width * scale,
- height: this.props.height * scale,
+ top: this.props.y,
+ left: this.props.x,
+ width: this.props.width,
+ height: this.props.height,
backgroundColor: this.props.ParentIndex() === this.props.index ? "green" : StrCast(this.props.document.color)
}} />);
}