diff options
author | Melissa Zhang <mzhang19096@gmail.com> | 2020-05-23 21:06:22 -0700 |
---|---|---|
committer | Melissa Zhang <mzhang19096@gmail.com> | 2020-05-23 21:06:22 -0700 |
commit | 831de1c2853c427d2918e1cda6a296ae6d30c700 (patch) | |
tree | 15c6c8d052d9beb965d4265eb238f0eed1f88026 /src/fields/documentSchemas.ts | |
parent | da705df20b9b2d44c6aa76050bb59a0bb669f0db (diff) | |
parent | 19ababdb6098ac36358c86e43ad63ab3066b4663 (diff) |
pull from master
Diffstat (limited to 'src/fields/documentSchemas.ts')
-rw-r--r-- | src/fields/documentSchemas.ts | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/fields/documentSchemas.ts b/src/fields/documentSchemas.ts index 142f7e079..32f1b6e6c 100644 --- a/src/fields/documentSchemas.ts +++ b/src/fields/documentSchemas.ts @@ -12,7 +12,10 @@ export const documentSchema = createSchema({ links: listSpec(Doc), // computed (readonly) list of links associated with this document // "Location" properties in a very general sense - currentTimecode: "number", // current play back time of a temporal document (video / audio) + currentFrame: "number", // current frame of a frame based collection (e.g., a progressive slide) + lastFrame: "number", // last frame of a frame based collection (e.g., a progressive slide) + activeFrame: "number", // the active frame of a frame based animated document + urrentTimecode: "number", // current play back time of a temporal document (video / audio) displayTimecode: "number", // the time that a document should be displayed (e.g., time an annotation should be displayed on a video) inOverlay: "boolean", // whether the document is rendered in an OverlayView which handles selection/dragging differently x: "number", // x coordinate when in a freeform view @@ -77,7 +80,7 @@ export const documentSchema = createSchema({ isBackground: "boolean", // whether document is a background element and ignores input events (can only select with marquee) lockedPosition: "boolean", // whether the document can be moved (dragged) _lockedTransform: "boolean",// whether a freeformview can pan/zoom - + // drag drop properties dragFactory: Doc, // the document that serves as the "template" for the onDragStart script. ie, to drag out copies of the dragFactory document. dropAction: "string", // override specifying what should happen when this document is dropped (can be "alias", "copy", "move") |