diff src/app/app.component.html @ 435:a1562ee60ed4

Close tray on file open and record.
author Lucas Thompson <dev@lucas.im>
date Wed, 07 Jun 2017 15:34:26 +0100
parents b0415f8837d9
children d2af14e0b949
line wrap: on
line diff
--- a/src/app/app.component.html	Wed Jun 07 15:30:15 2017 +0100
+++ b/src/app/app.component.html	Wed Jun 07 15:34:26 2017 +0100
@@ -7,7 +7,7 @@
 
       <ugly-playback-control></ugly-playback-control>
       <ugly-recording-control
-        (finishedRecording)="onFileOpened($event)"
+        (finishedRecording)="onFileOpened($event); tray.close()"
       ></ugly-recording-control>
 
       <!-- This fills the remaining space of the current row -->
@@ -15,7 +15,7 @@
 
 
       <ugly-audio-file-open
-        (fileOpened)="onFileOpened($event)"
+        (fileOpened)="onFileOpened($event); tray.close()"
       ></ugly-audio-file-open>
       <!-- menu opens when trigger button is clicked -->
       <button md-icon-button (click)="tray.toggle()">