aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/DocumentDecorations.tsx
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2019-02-22 21:39:40 -0500
committerBob Zeleznik <zzzman@gmail.com>2019-02-22 21:39:40 -0500
commit5fc58916b07453d212645b313c9074b5dcc1ee84 (patch)
tree1644e3fd5c2c13d4b59fb29c8e8b624902160f23 /src/client/views/DocumentDecorations.tsx
parent6efeab21923c0ca7667bcebf40a84b16248077f1 (diff)
moved backgroundLayout to CollectionFreeForm
Diffstat (limited to 'src/client/views/DocumentDecorations.tsx')
-rw-r--r--src/client/views/DocumentDecorations.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/DocumentDecorations.tsx b/src/client/views/DocumentDecorations.tsx
index efd50e49e..09df8cdaa 100644
--- a/src/client/views/DocumentDecorations.tsx
+++ b/src/client/views/DocumentDecorations.tsx
@@ -101,7 +101,7 @@ export class DocumentDecorations extends React.Component {
}
SelectionManager.SelectedDocuments().forEach(element => {
- const rect = element.screenRect;
+ const rect = element.screenRect();
if (rect.width !== 0) {
let doc = element.props.Document;
let width = doc.GetOrCreate(KeyStore.Width, NumberField);