changeset 1445:6001c86f9fca

timeline: 1 row for now since i think the others were duplicating all notes (and also not showing them) Ignore-this: a763f8f93b04f6473600944e9533437d
author drewp@bigasterisk.com
date Sat, 11 Jun 2016 21:16:06 +0000
parents 5bd2d036ae74
children ba6594263fa7
files light9/web/timeline/timeline.coffee
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/light9/web/timeline/timeline.coffee	Sat Jun 11 21:15:36 2016 +0000
+++ b/light9/web/timeline/timeline.coffee	Sat Jun 11 21:16:06 2016 +0000
@@ -209,7 +209,7 @@
     dia: { type: Object, notify: true }
     song: { type: String, notify: true }
     zoomInX: { type: Object, notify: true }
-    rows: { value: [0, 1, 2] }
+    rows: { value: [0] }
     zoom: { type: Object, notify: true, observer: 'onZoom' }
     zoomFlattened: { type: Object, notify: true }
   onZoom: ->
@@ -286,7 +286,7 @@
     @graph.runHandler(@update.bind(@), "row notes #{@rowIndex}")
   update: ->
     U = (x) -> @graph.Uri(x)
-
+    log("row #{@rowIndex} updating")
     @noteUris = []
     for note in @graph.objects(@song, U(':note'))
       @push('noteUris', note)