Changeset - f40b1796d956
[Not reviewed]
default
0 1 0
Drew Perttula - 9 years ago 2016-06-03 21:58:57
drewp@bigasterisk.com
remove old DOM cursor. we just use svg now
Ignore-this: 90d83ea8247976cd8e44415a12b3fc44
1 file changed with 0 insertions and 35 deletions:
0 comments (0 inline, 0 general)
light9/web/timeline-elements.html
Show inline comments
 
@@ -60,11 +60,6 @@
 
         height: 100%;
 

	
 
     }
 
     light9-timeline-cursor {
 
         width: 0;
 
         height: 100%;
 
         z-index: 1;
 
         }
 
     light9-timeline-audio {
 
         width: 100%;
 
         height: 90px;
 
@@ -253,36 +248,6 @@
 
  </script>
 
</dom-module>
 

	
 
<!-- playback cursor on top of everything. Maybe other cursors too: hover, snap, etc -->
 
<dom-module id="light9-timeline-cursor">
 
  <template>
 
    <style>
 
     :host {
 
         /* parent has arranged for us to be 0 wide and the proper height */
 
     }
 
     div {
 
         background: red;
 
         position: relative;
 
         height: 100%;
 
         width: 3px;
 
         box-shadow: 3px 0 5px rgba(0, 0, 0, 0.34);
 
     }
 
    </style>
 
    <div style="left: {{x}}px"></div>
 
  </template>
 
  <script>
 
   Polymer({
 
       is: "light9-timeline-cursor",
 
       properties: {
 
           x: {type: Number}
 
       },
 
       ready: function () {
 
           setInterval(function() { this.x = 50 + 35 * Math.sin(Date.now()/4); }.bind(this), 50);
 
       }
 
   });
 
  </script>
 
</dom-module>
 

	
 
<!-- One trapezoid note shape in a row.
 
     This element has the right Y coords.
 
     We compute X coords from the zoom setting.
0 comments (0 inline, 0 general)