click to add/remove entry from playground selection

This commit is contained in:
2021-09-18 20:41:44 -06:00
parent ab48bb7b87
commit 12f6c79ab9

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) [])