diff options
author | bob <bcz@cs.brown.edu> | 2019-04-30 09:36:00 -0400 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-04-30 09:36:00 -0400 |
commit | 654ad2b11a3dc98c2e802c535b0cd615e50a486c (patch) | |
tree | 51e319e8f8fb271f34bb5657c03a9230d9888531 /src | |
parent | 877b104a61d2ab072e3b6a006168ec03e2c46365 (diff) |
fixed marquee select doc placement
Diffstat (limited to 'src')
-rw-r--r-- | src/client/views/collections/collectionFreeForm/MarqueeView.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/collections/collectionFreeForm/MarqueeView.tsx b/src/client/views/collections/collectionFreeForm/MarqueeView.tsx index 644a8784c..df1e7a90e 100644 --- a/src/client/views/collections/collectionFreeForm/MarqueeView.tsx +++ b/src/client/views/collections/collectionFreeForm/MarqueeView.tsx @@ -143,8 +143,8 @@ export class MarqueeView extends React.Component<MarqueeViewProps> let bounds = this.Bounds; let selected = this.marqueeSelect().map(d => { this.props.removeDocument(d); - d.x = NumCast(d.X) - bounds.left - bounds.width / 2; - d.y = NumCast(d.Y) - bounds.top - bounds.height / 2; + d.x = NumCast(d.x) - bounds.left - bounds.width / 2; + d.y = NumCast(d.y) - bounds.top - bounds.height / 2; d.page = -1; return d; }); |