aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/collectionFreeForm
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2019-04-23 17:01:11 -0400
committerbob <bcz@cs.brown.edu>2019-04-23 17:01:11 -0400
commitd3a0ed3292a3ca83f83d6f75e50bde494b2e1d47 (patch)
tree6a94b14d6bd31d7430676d2994a721bd09a9b1b1 /src/client/views/collections/collectionFreeForm
parenteae9c2795ef746cdd11a344e61519b48efd63c46 (diff)
more adjustments to event handling,
Diffstat (limited to 'src/client/views/collections/collectionFreeForm')
-rw-r--r--src/client/views/collections/collectionFreeForm/MarqueeView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/collectionFreeForm/MarqueeView.tsx b/src/client/views/collections/collectionFreeForm/MarqueeView.tsx
index 374d1e72f..e04f89578 100644
--- a/src/client/views/collections/collectionFreeForm/MarqueeView.tsx
+++ b/src/client/views/collections/collectionFreeForm/MarqueeView.tsx
@@ -125,7 +125,7 @@ export class MarqueeView extends React.Component<MarqueeViewProps>
@action
onClick = (e: MouseEvent): void => {
- PreviewCursor.Show(this.hideCursor, this._downX, this._downY);
+ PreviewCursor.Show(this.hideCursor, e.clientX, e.clientY);
document.addEventListener("keypress", this.onKeyPress, false);
}