aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents/Documents.ts
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2020-01-31 17:14:56 -0500
committerbob <bcz@cs.brown.edu>2020-01-31 17:14:56 -0500
commit349a4c81c8e8864174c1965039b0046be137c98a (patch)
tree10444cf34a607c21c12070edd32b7539aca9f4d4 /src/client/documents/Documents.ts
parent525c7f768f148514494f7fee44b1e3f357eb2a32 (diff)
changing document defaults.
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r--src/client/documents/Documents.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts
index 49c03a96f..ab22906bb 100644
--- a/src/client/documents/Documents.ts
+++ b/src/client/documents/Documents.ts
@@ -188,7 +188,7 @@ export namespace Docs {
}],
[DocumentType.COL, {
layout: { view: CollectionView, dataField: data },
- options: { _panX: 0, _panY: 0, scale: 1, _width: 500, _height: 500 }
+ options: { _panX: 0, _panY: 0, scale: 1 } // , _width: 500, _height: 500 }
}],
[DocumentType.KVP, {
layout: { view: KeyValueBox, dataField: data },
@@ -249,7 +249,7 @@ export namespace Docs {
]);
// All document prototypes are initialized with at least these values
- const defaultOptions: DocumentOptions = { x: 0, y: 0, _width: 300 };
+ const defaultOptions: DocumentOptions = { _width: 300 }; // bcz: do we really want to set anything here? could also try to set in render() methods for types that need a default
const suffix = "Proto";
/**