# HG changeset patch # User Lucas Thompson # Date 1496846066 -3600 # Node ID a1562ee60ed4d6ae6264032416c21af7af79a795 # Parent 0991af5c6eb2628502908c9cc0995109c90874da Close tray on file open and record. diff -r 0991af5c6eb2 -r a1562ee60ed4 src/app/actions/action-tray.component.ts --- a/src/app/actions/action-tray.component.ts Wed Jun 07 15:30:15 2017 +0100 +++ b/src/app/actions/action-tray.component.ts Wed Jun 07 15:34:26 2017 +0100 @@ -55,4 +55,8 @@ toggle() { this.visibility = this.visibility === 'show' ? 'hide' : 'show'; } + + close() { + this.visibility = 'hide'; + } } diff -r 0991af5c6eb2 -r a1562ee60ed4 src/app/app.component.html --- 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 @@ @@ -15,7 +15,7 @@