Change how recording is started

This commit is contained in:
oakes
2014-09-23 05:39:07 -04:00
parent cb1af60e5a
commit 6d184d8b98
2 changed files with 4 additions and 4 deletions

View File

@@ -64,11 +64,11 @@
(defn ^:private add-to-timeline!
[screen-atom entities]
(let [screen @screen-atom]
(when (:record? screen)
(when (:timeline screen)
(swap! screen-atom
update-in
[:timeline]
#(conj (or %1 []) %2)
conj
[(:total-time screen) entities]))))
(defn defscreen*