changeset 355:335bb6459fe8

There's nothing waveform specific about these, they'll likely be used for other waves-ui components.
author Lucas Thompson <dev@lucas.im>
date Fri, 26 May 2017 18:20:02 +0100
parents a9ce5516c17d
children b852bace6b14
files src/app/visualisations/waveform/waveform.component.css src/app/visualisations/waveform/waveform.component.html src/app/visualisations/waveform/waveform.component.ts src/app/visualisations/waves-template.css src/app/visualisations/waves-template.html
diffstat 5 files changed, 10 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/src/app/visualisations/waveform/waveform.component.css	Fri May 26 18:17:31 2017 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-.track {
-  height: 100%;
-  width: 100%;
-}
--- a/src/app/visualisations/waveform/waveform.component.html	Fri May 26 18:17:31 2017 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-<div
-  #track class="track"
-  (mousedown)="seekStart()"
-  (mouseup)="seekEnd($event.clientX)"></div>
--- a/src/app/visualisations/waveform/waveform.component.ts	Fri May 26 18:17:31 2017 +0100
+++ b/src/app/visualisations/waveform/waveform.component.ts	Fri May 26 18:20:02 2017 +0100
@@ -11,8 +11,8 @@
 
 @Component({
   selector: 'ugly-waveform',
-  templateUrl: './waveform.component.html',
-  styleUrls: ['./waveform.component.css']
+  templateUrl: '../waves-template.html',
+  styleUrls: ['../waves-template.css']
 })
 export class WaveformComponent extends WavesComponent {
   @ViewChild('track') trackDiv: ElementRef;
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/app/visualisations/waves-template.css	Fri May 26 18:20:02 2017 +0100
@@ -0,0 +1,4 @@
+.track {
+  height: 100%;
+  width: 100%;
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/app/visualisations/waves-template.html	Fri May 26 18:20:02 2017 +0100
@@ -0,0 +1,4 @@
+<div
+  #track class="track"
+  (mousedown)="seekStart()"
+  (mouseup)="seekEnd($event.clientX)"></div>