Changeset - 3368aeaded44
[Not reviewed]
default
0 1 0
Drew Perttula - 7 years ago 2018-05-28 00:25:29
drewp@bigasterisk.com
fix note update
Ignore-this: 213c42b10be25b0fd59c68d5ba3bdda3
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
light9/web/timeline/timeline.coffee
Show inline comments
 
@@ -432,14 +432,14 @@ coffeeElementSetup(class TimeAxis extend
 

	
 

	
 
# Maintains a pixi object, some adjusters, and inlineattrs corresponding to a note
 
# in the graph.
 
class Note
 
  constructor: (@parentElem, @container, @project, @graph, @selection, @uri, @setAdjuster, @song, @viewState, @rowTopY, @rowBotY) ->
 
    @adjusterIds = new Set() # id
 
    @graph.runHandler(@draw.bind(@), 'note draw')
 
    @adjusterIds = new Set() # id string
 
    @graph.runHandler(@draw.bind(@), "note draw #{@uri.value}")
 
    ko.computed @draw.bind(@)
 

	
 
  destroy: ->
 
    log('destroy', @uri.value)
 
    @isDetached = true
 
    @clearAdjusters()
0 comments (0 inline, 0 general)