diff options
author | bob <bcz@cs.brown.edu> | 2019-07-03 14:29:53 -0400 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-07-03 14:29:53 -0400 |
commit | c77dfd3fcb2df644fcf2c177db7e6e376ca4c3a9 (patch) | |
tree | f559c0778a500bc13c0b4369a42c00affc715128 /src/client/views/nodes/CollectionFreeFormDocumentView.tsx | |
parent | 88cec4b18b8e49f8598cab817955ca4dccb6228c (diff) |
quick and dirty arrange transition animations
Diffstat (limited to 'src/client/views/nodes/CollectionFreeFormDocumentView.tsx')
-rw-r--r-- | src/client/views/nodes/CollectionFreeFormDocumentView.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/views/nodes/CollectionFreeFormDocumentView.tsx b/src/client/views/nodes/CollectionFreeFormDocumentView.tsx index 3f9270597..30cf74f3e 100644 --- a/src/client/views/nodes/CollectionFreeFormDocumentView.tsx +++ b/src/client/views/nodes/CollectionFreeFormDocumentView.tsx @@ -1,7 +1,7 @@ import { computed } from "mobx"; import { observer } from "mobx-react"; import { createSchema, makeInterface } from "../../../new_fields/Schema"; -import { BoolCast, FieldValue, NumCast } from "../../../new_fields/Types"; +import { BoolCast, FieldValue, NumCast, StrCast } from "../../../new_fields/Types"; import { Transform } from "../../util/Transform"; import { DocComponent } from "../DocComponent"; import { DocumentView, DocumentViewProps, positionSchema } from "./DocumentView"; @@ -86,6 +86,7 @@ export class CollectionFreeFormDocumentView extends DocComponent<CollectionFreeF backgroundColor: "transparent", borderRadius: `${this.borderRounding()}px`, transform: this.transform, + transition: StrCast(this.props.Document.transition), width: this.width, height: this.height, zIndex: this.Document.zIndex || 0, |