diff options
| author | Tyler Schicke <tyler_schicke@brown.edu> | 2019-02-18 01:45:19 -0500 |
|---|---|---|
| committer | Tyler Schicke <tyler_schicke@brown.edu> | 2019-02-18 01:45:19 -0500 |
| commit | 4ae8e7791d217a04a913caa75c8e276a50608865 (patch) | |
| tree | 8ce5a8f882f99f72f1c6c04dfd8e46f1f9cb2a6b /src/client/views/DocumentDecorations.tsx | |
| parent | bc7a13cb54d3f60b4e9ad301d17db2941eb84912 (diff) | |
Fixed up a bunch of tranform stuff
Diffstat (limited to 'src/client/views/DocumentDecorations.tsx')
| -rw-r--r-- | src/client/views/DocumentDecorations.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/DocumentDecorations.tsx b/src/client/views/DocumentDecorations.tsx index 23c952ef4..d385bcdef 100644 --- a/src/client/views/DocumentDecorations.tsx +++ b/src/client/views/DocumentDecorations.tsx @@ -27,7 +27,7 @@ export class DocumentDecorations extends React.Component { !(element.props.ContainingCollectionView instanceof CollectionFreeFormView)) { return bounds; } - let transform = element.props.GetTransform().inverse(); + let transform = element.props.ScreenToLocalTransform().inverse(); var [sptX, sptY] = transform.transformPoint(0, 0); // var [bptX, bptY] = transform.transformDirection(element.width, element.height); let doc = element.props.Document; |
