equal
deleted
inserted
replaced
45 this.container.x = opts.xInit; |
45 this.container.x = opts.xInit; |
46 this.container.y = opts.yInit; |
46 this.container.y = opts.yInit; |
47 this.width = opts.width; |
47 this.width = opts.width; |
48 this.height= opts.height; |
48 this.height= opts.height; |
49 this.annotCategories = opts.annotCategories; |
49 this.annotCategories = opts.annotCategories; |
|
50 this.timeBegin = opts.timeBegin; |
|
51 this.timeEnd = opts.timeEnd; |
50 |
52 |
51 var wsPianoroll = opts.wsPianoroll; |
53 var wsPianoroll = opts.wsPianoroll; |
52 var wsAnnot = opts.wsAnnot; |
54 var wsAnnot = opts.wsAnnot; |
53 var stageView = opts.stageView; |
55 var stageView = opts.stageView; |
54 |
56 |
60 ws: new annotviz.WsWrapper(wsUriAnnotation, logger), |
62 ws: new annotviz.WsWrapper(wsUriAnnotation, logger), |
61 xInit: 0, |
63 xInit: 0, |
62 yInit: 0, |
64 yInit: 0, |
63 width: 1024 - 200 - 200, |
65 width: 1024 - 200 - 200, |
64 height: 768-200, |
66 height: 768-200, |
65 timeBegin: Date.now(), |
67 timeBegin: this.timeBegin, |
66 timeEnd: Date.now() + 3000000, |
68 timeEnd: this.timeEnd, |
67 intervalWidth: 6, |
69 intervalWidth: 6, |
68 intervalHeight: 10, |
70 intervalHeight: 10, |
69 maxCellHeight: 70, |
71 maxCellHeight: 70, |
70 radius: 200, |
72 radius: 200, |
71 annotCategories: this.annotCategories |
73 annotCategories: this.annotCategories |