diff options
author | bob <bcz@cs.brown.edu> | 2019-02-22 17:10:44 -0500 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-02-22 17:10:44 -0500 |
commit | 530be8dc0f049a4c05431c7b10ae47e46575fcbe (patch) | |
tree | c28a61a031f82ddb4150c2a1e4f208b0e9f6637f /src/fields/Document.ts | |
parent | b53c5bfd421a56be1d8b0ea79209cdae01991ca1 (diff) |
fixed re-render issue for collection free form documents.
Diffstat (limited to 'src/fields/Document.ts')
-rw-r--r-- | src/fields/Document.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fields/Document.ts b/src/fields/Document.ts index ff13732b3..0d7d357a0 100644 --- a/src/fields/Document.ts +++ b/src/fields/Document.ts @@ -30,6 +30,10 @@ export class Document extends Field { } } + public Width = () => { return this.GetNumber(KeyStore.Width, 0) } + public Height = () => { return this.GetNumber(KeyStore.Height, 0) } + public Scale = () => { return this.GetNumber(KeyStore.Scale, 1) } + @computed public get Title() { return this.GetText(KeyStore.Title, "<untitled>"); |