diff options
| author | eleanor-park <eleanor_park@brown.edu> | 2024-06-14 14:23:56 -0400 |
|---|---|---|
| committer | eleanor-park <eleanor_park@brown.edu> | 2024-06-14 14:23:56 -0400 |
| commit | b6ae411cfa04f6736d91749e6c99beb8179b3a30 (patch) | |
| tree | 2b765f458610600d5475b6f565b5bbd879dca3a0 /src/client/views/MarqueeAnnotator.tsx | |
| parent | 33761fc2227458acf36a5cc4b1f08eaae6e58695 (diff) | |
looking for weird error
Diffstat (limited to 'src/client/views/MarqueeAnnotator.tsx')
| -rw-r--r-- | src/client/views/MarqueeAnnotator.tsx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/client/views/MarqueeAnnotator.tsx b/src/client/views/MarqueeAnnotator.tsx index db48e095d..f06f3efe0 100644 --- a/src/client/views/MarqueeAnnotator.tsx +++ b/src/client/views/MarqueeAnnotator.tsx @@ -74,7 +74,8 @@ export class MarqueeAnnotator extends ObservableReactComponent<MarqueeAnnotatorP onClick: isLinkButton ? FollowLinkScript() : undefined, backgroundColor: color, annotationOn: this.props.Document, - title: 'Annotation on ' + this.props.Document.title,a + title: 'Annotation on ' + this.props.Document.title, + a, }); marqueeAnno.x = NumCast(doc.freeform_panX_min) + (parseInt(anno.style.left || '0') - containerOffset[0]) / scale; marqueeAnno.y = NumCast(doc.freeform_panY_min) + (parseInt(anno.style.top || '0') - containerOffset[1]) / scale; @@ -215,7 +216,7 @@ export class MarqueeAnnotator extends ObservableReactComponent<MarqueeAnnotatorP marqueeAnno.y = NumCast(doc.freeform_panY_min) / scale; marqueeAnno._height = parseInt('100') / scale; marqueeAnno._width = parseInt('100') / scale; - return marqueeAnno; + return marqueeAnno; // } // const textRegionAnno = Docs.Create.ConfigDocument({ |
