click to add/remove entry from playground selection

This commit is contained in:
2021-09-18 20:41:44 -06:00
parent 4adbd7d750
commit f3d7cecd4e
6 changed files with 46 additions and 17 deletions

View File

@@ -166,6 +166,10 @@
(defCommand SelectEntry [e OneEntry]
(set selectedEntries [e]) [])
(defCommand ToggleEntrySelection [e OneEntry]
(unless (selectedEntries.remove e)
(selectedEntries.push e)) [])
(defCommand SelectEntries [entries (Entries null null)]
(set selectedEntries entries) [])