Changeset - 5da62d53e12f
[Not reviewed]
default
0 2 0
Drew Perttula - 8 years ago 2017-05-25 06:14:58
drewp@bigasterisk.com
turn inlineattrs back on
Ignore-this: f8e015224d2882ba2dbb54d1d6234fe7
2 files changed with 6 insertions and 5 deletions:
0 comments (0 inline, 0 general)
light9/web/timeline/timeline-elements.html
Show inline comments
 
@@ -225,18 +225,18 @@ background: rgba(126, 52, 245, 0.0784313
 
     :host {
 
         display: block;
 
         background: green;
 
         /* outline: 2px solid red; */
 
     }
 
    </style>
 
    <xlight9-timeline-note-inline-attrs rect="{{inlineRect}}"
 
    <light9-timeline-note-inline-attrs rect="{{inlineRect}}"
 
                                       graph="{{graph}}"
 
                                       song="{{song}}"
 
                                       uri="{{uri}}"
 
    >
 
    </xlight9-timeline-note-inline-attrs>
 
    </light9-timeline-note-inline-attrs>
 
  </template>
 
</dom-module>
 

	
 
<!-- All the adjusters you can edit or select. Tells a light9-adjusters-canvas how to draw them. Probabaly doesn't need to be an element.
 
     This element manages their layout and suppresion.
 
     Owns the selection.
 
@@ -318,16 +318,17 @@ background: rgba(126, 52, 245, 0.0784313
 
<dom-module id="light9-timeline-note-inline-attrs">
 
  <template>
 
    <style>
 
     #top {
 
         position: absolute;
 
         overflow: hidden;
 
         background: #7b7b7b;
 
         background: rgba(123, 123, 123, 0.71);
 
         border-radius: 6px;
 
         box-shadow: 0 0 5px black;
 
         border: 1px solid #313131;
 
         padding: 3px;
 
         z-index: 2;
 
     }
 
    </style>
 
    <div id="top" style$="left: [[rect.left]]px; top: [[rect.top]]px; width: [[rect.width]]px; height: [[rect.height]]px; display: [[rect.display]]">
 
      <div>note [[noteLabel]] <button on-click="onDel">del</button></div>
 
      <table>
 
        <tr><th>effect:</th><td><edit-choice uri="{{effect}}" label="{{effectLabel}}"></edit-choice></td></tr>
light9/web/timeline/timeline.coffee
Show inline comments
 
@@ -484,13 +484,13 @@ Polymer
 

	
 
    @makeCurveAdjusters(curveWidth, yForV, @worldPts)
 
    
 
  makeCurveAdjusters: (curveWidth, yForV, worldPts) ->
 
    U = (x) -> @graph.Uri(x)
 

	
 
    if 0
 
    if true
 
      @adjusterIds[@uri+'/offset'] = true
 
      @setAdjuster(@uri+'/offset', => new AdjustableFloatObject({
 
        graph: @graph
 
        subj: @uri
 
        pred: U(':originTime')
 
        ctx: U(@song)
0 comments (0 inline, 0 general)