From dd32eb4fa279e4417cd4136d23e9646fb967a1e5 Mon Sep 17 00:00:00 2001 From: Florrie Date: Tue, 28 May 2019 19:41:43 -0300 Subject: Change "Play later" option formatting Also add some todo's. --- todo.txt | 7 +++++++ ui.js | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/todo.txt b/todo.txt index 84b149d..6894ae2 100644 --- a/todo.txt +++ b/todo.txt @@ -247,3 +247,10 @@ TODO: A menubar! TODO: Make pressing the de-focus menubar key restore the selection even if you selected the menubar by clicking on it. + +TODO: Make the queue length element react to being very squished. + +TODO: Don't close the menubar menus when an option is chosen! + Instead, reload that menu to reflect the changes. Handy so that you can + easily press a specific action (e.g. "play later") several times in + succession. diff --git a/ui.js b/ui.js index 033e0e3..3d2bbee 100644 --- a/ui.js +++ b/ui.js @@ -237,7 +237,7 @@ class AppElement extends FocusElement { (next || previous) && {divider: true}, previous && {label: `Previous (${previous.name})`, action: () => this.playPreviousTrack(this.playingTrack)}, next && {label: `Next (${next.name})`, action: () => this.playNextTrack(this.playingTrack)}, - next && {label: '(...Play Later)', action: () => this.playLater(next)} + next && {label: '- Play later', action: () => this.playLater(next)} ] }}, {text: 'Queue', menuFn: () => { -- cgit 1.3.0-6-gf8a5