Changeset - 11b74e7d6b88
[Not reviewed]
default
0 1 0
Drew Perttula - 8 years ago 2017-06-10 05:59:22
drewp@bigasterisk.com
draw adjusters for all curve pts, not just 4
Ignore-this: 28b553a4935b4900496499d74489d8ee
1 file changed with 3 insertions and 1 deletions:
0 comments (0 inline, 0 general)
light9/web/timeline/timeline.coffee
Show inline comments
 
@@ -544,13 +544,15 @@ Polymer
 
  _curveWidth: (worldPts) ->
 
    tMin = @graph.floatValue(worldPts[0].uri, @graph.Uri(':time'))
 
    tMax = @graph.floatValue(worldPts[3].uri, @graph.Uri(':time'))
 
    tMax - tMin
 
    
 
  _makeCurvePointAdjusters: (yForV, worldPts) ->
 
    for pointNum in [0, 1, 2, 3]
 
    
 
    for pointNum in [0...worldPts.length]
 
      log('wor', worldPts, pointNum)
 
      @_makePointAdjuster(yForV, worldPts, pointNum)
 

	
 
  _makePointAdjuster: (yForV, worldPts, pointNum) ->
 
    U = (x) => @graph.Uri(x)
 

	
 
    adjId = @uri + '/p' + pointNum
0 comments (0 inline, 0 general)