From e7e7f21510103394239f96bb3e398e5509a7533e Mon Sep 17 00:00:00 2001
From: andrewdkim <adkim414@gmail.com>
Date: Mon, 1 Jul 2019 17:08:22 -0400
Subject: flyout

---
 src/client/views/nodes/Track.tsx | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

(limited to 'src/client/views/nodes/Track.tsx')

diff --git a/src/client/views/nodes/Track.tsx b/src/client/views/nodes/Track.tsx
index 957128040..94c0b5563 100644
--- a/src/client/views/nodes/Track.tsx
+++ b/src/client/views/nodes/Track.tsx
@@ -7,15 +7,17 @@ import { Document, listSpec, createSchema, makeInterface, defaultSpec } from "..
 import { FieldValue, Cast, NumCast, BoolCast } from "../../../new_fields/Types";
 import { List } from "../../../new_fields/List";
 import { Keyframe, RegionData } from "./Keyframe";
+import { FlyoutProps } from "./Timeline";
 
-interface IProp {
+interface IProps {
     node: Doc;
     currentBarX: number;
-    // setPosition: (position: number) => any;
+    setFlyout: (props:FlyoutProps) => any; 
 }
 
+
 @observer
-export class Track extends React.Component<IProp> {
+export class Track extends React.Component<IProps> {
     @observable private _inner = React.createRef<HTMLDivElement>();
 
     private _reactionDisposers: IReactionDisposer[] = [];
@@ -196,7 +198,7 @@ export class Track extends React.Component<IProp> {
                 <div className="track">
                     <div className="inner" ref={this._inner} onDoubleClick={this.onInnerDoubleClick}>
                         {this.regions.map((region) => {
-                            return <Keyframe node={this.props.node} RegionData={region as Doc}/>;
+                            return <Keyframe node={this.props.node} RegionData={region as Doc} setFlyout={this.props.setFlyout}/>;
                         })}
                     </div>
                 </div>
-- 
cgit v1.2.3-70-g09d2

