Fix inspector automation clock for looped symbol instances
This commit is contained in:
parent
4d441ae606
commit
52f25e0bb1
2 changed files with 20 additions and 3 deletions
|
|
@ -240,8 +240,8 @@
|
|||
(let [[start end] (:span n)
|
||||
auto-key? @(rf/subscribe [::sub/auto-key?])
|
||||
clip @(rf/subscribe [::render/clip])
|
||||
local @(rf/subscribe [::sub/selected-local])
|
||||
frame (:frame local)
|
||||
placement @(rf/subscribe [::sub/selected-placement])
|
||||
frame (:frame placement)
|
||||
palette-id (or (get-in clip [:symbols sid :palette]) (pal/default-palette-id clip))
|
||||
palette (get (pal/palettes clip) palette-id)]
|
||||
[section (str (name (:kind n)) " · in " (name sid))
|
||||
|
|
@ -259,7 +259,9 @@
|
|||
#(rf/dispatch [::ui/rename-node sid id %])]]
|
||||
(when (:paint? n) [drawing-keys sid id n @(rf/subscribe [::sub/selected-local])])
|
||||
[:div.row {:style {:margin-top "6px"}} [:span.dim "channels"]]
|
||||
(let [{:keys [frame]} local]
|
||||
;; Channels belong to the placement, before its source playback clock.
|
||||
;; Entering the source would wrap keys on loops and pin them on holds.
|
||||
(let [{:keys [frame]} placement]
|
||||
[:dl.facts
|
||||
(doall
|
||||
(for [[path ch] (sort-by (fn [[path]]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue