From 349a4c81c8e8864174c1965039b0046be137c98a Mon Sep 17 00:00:00 2001 From: bob Date: Fri, 31 Jan 2020 17:14:56 -0500 Subject: changing document defaults. --- src/client/documents/Documents.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/client/documents') 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"; /** -- cgit v1.2.3-70-g09d2