diff options
Diffstat (limited to 'src/client/views/pdf/Annotation.tsx')
-rw-r--r-- | src/client/views/pdf/Annotation.tsx | 8 |
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) }} />); } |