aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/DocumentDecorations.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2019-02-12 22:43:23 -0500
committerbobzel <zzzman@gmail.com>2019-02-12 22:43:23 -0500
commit9cb0bf595b47d6a76113e3ed2f99d34e1713904e (patch)
treeddfdebccf59a42219cb9e7d2f7325dba986984ed /src/client/views/DocumentDecorations.tsx
parentb48e9b7850d0d244ce1fe519863b32969ed2c7d2 (diff)
more minor api cleanup
Diffstat (limited to 'src/client/views/DocumentDecorations.tsx')
-rw-r--r--src/client/views/DocumentDecorations.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/DocumentDecorations.tsx b/src/client/views/DocumentDecorations.tsx
index cc43372af..1224495f6 100644
--- a/src/client/views/DocumentDecorations.tsx
+++ b/src/client/views/DocumentDecorations.tsx
@@ -26,8 +26,8 @@ export class DocumentDecorations extends React.Component {
!(element.props.ContainingCollectionView instanceof CollectionFreeFormView)) {
return bounds;
}
- var spt = element.TransformToScreenPoint(0, 0, 1, 0, 0, false);
- var bpt = element.TransformToScreenPoint(element.width, element.height, 1, 0, 0, false);
+ var spt = element.TransformToScreenPoint(0, 0);
+ var bpt = element.TransformToScreenPoint(element.width, element.height);
return {
x: Math.min(spt.ScreenX, bounds.x), y: Math.min(spt.ScreenY, bounds.y),
r: Math.max(bpt.ScreenX, bounds.r), b: Math.max(bpt.ScreenY, bounds.b)