diff options
author | bobzel <zzzman@gmail.com> | 2021-08-05 23:30:55 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2021-08-05 23:30:55 -0400 |
commit | d7eedddcba42017c4609d81f3a47b2f35a48ecea (patch) | |
tree | ce7329f87d6cf7b7d5527599ed0d2ca693789fa7 /src/client/views/nodes/WebBox.tsx | |
parent | de45cc09b8fe4e6231f0e568443f3c6e262f97ea (diff) |
fixed creating webpages from toolbar / :webpage to not use templates
Diffstat (limited to 'src/client/views/nodes/WebBox.tsx')
-rw-r--r-- | src/client/views/nodes/WebBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/WebBox.tsx b/src/client/views/nodes/WebBox.tsx index d2c806df6..7b2fafaa9 100644 --- a/src/client/views/nodes/WebBox.tsx +++ b/src/client/views/nodes/WebBox.tsx @@ -68,7 +68,7 @@ export class WebBox extends ViewBoxAnnotatableComponent<ViewBoxAnnotatableProps constructor(props: any) { super(props); - if (this.webField) { + if (true) {// his.webField) { Doc.SetNativeWidth(this.dataDoc, Doc.NativeWidth(this.dataDoc) || 850); Doc.SetNativeHeight(this.dataDoc, Doc.NativeHeight(this.dataDoc) || this.Document[HeightSym]() / this.Document[WidthSym]() * 850); } |