diff options
Diffstat (limited to 'src/client/documents')
| -rw-r--r-- | src/client/documents/Documents.ts | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts index fc386f81a..5c5818f8f 100644 --- a/src/client/documents/Documents.ts +++ b/src/client/documents/Documents.ts @@ -95,6 +95,7 @@ type DROPt = DAInfo | dropActionType;  export class DocumentOptions {      system?: BOOLt = new BoolInfo("is this a system created/owned doc");      _dropAction?: DROPt = new DAInfo("what should happen to this document when it's dropped somewhere else"); +    allowOverlayDrop?: BOOLt = new BoolInfo("can documents be dropped onto this document without using dragging title bar or holding down embed key (ctrl)?");      childDropAction?: DROPt = new DAInfo("what should happen to the source document when it's dropped onto a child of a collection ");      targetDropAction?: DROPt = new DAInfo("what should happen to the source document when ??? ");      color?: string; // foreground color data doc @@ -293,6 +294,7 @@ export class DocumentOptions {      treeViewExpandedViewLock?: boolean; // whether the expanded view can be changed      treeViewChecked?: ScriptField; // script to call when a tree view checkbox is checked      treeViewTruncateTitleWidth?: number; +    treeViewHasOverlay?: boolean; // whether the treeview has an overlay for freeform annotations      treeViewType?: string; // whether treeview is a Slide, file system, or (default) collection hierarchy      sidebarColor?: string;  // background color of text sidebar      sidebarViewType?: string; // collection type of text sidebar @@ -837,7 +839,7 @@ export namespace Docs {          }          export function TreeDocument(documents: Array<Doc>, options: DocumentOptions, id?: string, protoId?: string) { -            return InstanceFromProto(Prototypes.get(DocumentType.COL), new List(documents), { ...options, _viewType: CollectionViewType.Tree }, id, undefined, protoId); +            return InstanceFromProto(Prototypes.get(DocumentType.COL), new List(documents), { _xMargin: 5, _yMargin: 5, ...options, _viewType: CollectionViewType.Tree }, id, undefined, protoId);          }          export function StackingDocument(documents: Array<Doc>, options: DocumentOptions, id?: string, protoId?: string) { | 
