« get me outta code hell

Change "Play later" option formatting - mtui - Music Text User Interface - user-friendly command line music player
about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorrie <towerofnix@gmail.com>2019-05-28 19:41:43 -0300
committerFlorrie <towerofnix@gmail.com>2019-05-28 19:41:43 -0300
commitdd32eb4fa279e4417cd4136d23e9646fb967a1e5 (patch)
treef47c7252e3ff32e198306a409605a98572433497
parent7a1d1fe5f38d5aae55b57da2c2ee7aa6819fa467 (diff)
Change "Play later" option formatting
Also add some todo's.
-rw-r--r--todo.txt7
-rw-r--r--ui.js2
2 files changed, 8 insertions, 1 deletions
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: () => {