The bar keys nothing; it makes a symbol or a lane with a +
A key on a selected node was one button for what K, auto-key and the inspector's marks already do where the value is, so the bar no longer offers it. In a lane it still offers a drawing and a blank. The create buttons read "+ symbol" and "+ lane", as the pool's does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
f0af8d392a
commit
14b0d6fa85
1 changed files with 14 additions and 16 deletions
|
|
@ -673,23 +673,21 @@
|
||||||
[:span.sep]
|
[:span.sep]
|
||||||
;; WHAT THE SELECTION CAN HAVE DONE TO IT, and nothing else. A drawing in
|
;; WHAT THE SELECTION CAN HAVE DONE TO IT, and nothing else. A drawing in
|
||||||
;; a lane takes a new drawing and a longer hold; a symbol placed anywhere
|
;; a lane takes a new drawing and a longer hold; a symbol placed anywhere
|
||||||
;; takes a cut and a longer span; a node takes a key and a peg. Shown, not
|
;; takes a cut and a longer span; a node takes a peg. Shown, not
|
||||||
;; greyed, so the strip says what is possible here, and each says its key.
|
;; greyed, so the strip says what is possible here, and each says its key.
|
||||||
(let [{:keys [lane?] hold? :span?} here]
|
(let [{:keys [lane?] hold? :span?} here]
|
||||||
[:div.group.context-controls {:aria-label "selection"}
|
[:div.group.context-controls {:aria-label "selection"}
|
||||||
;; K IS TWO COMMANDS WITH ONE KEY, and the bar shows whichever this is:
|
;; In a lane, K is a new drawing, which is Flash's F6 and has nothing
|
||||||
;; in a lane a new drawing, which is Flash's F6 and has nothing to do
|
;; to do with a channel's key. Keying a node stays on the key: auto-key
|
||||||
;; with a channel's key; anywhere else a key, in the inspector's mark.
|
;; and the inspector's marks already do it where the value is.
|
||||||
(cond
|
(when lane?
|
||||||
lane? [:<>
|
[:<>
|
||||||
[:button {:title "a new drawing from the playhead on, carrying on the one there (K)"
|
[:button {:title "a new drawing from the playhead on, carrying on the one there (K)"
|
||||||
:on-click (run key-here)}
|
:on-click (run key-here)}
|
||||||
[icon/view :drawing] " drawing"]
|
[icon/view :drawing] " drawing"]
|
||||||
[:button {:title "a blank drawing from the playhead on (⇧K)"
|
[:button {:title "a blank drawing from the playhead on (⇧K)"
|
||||||
:on-click (act [::ui/drawing-here false])}
|
:on-click (act [::ui/drawing-here false])}
|
||||||
[icon/view :blank] " blank"]]
|
[icon/view :blank] " blank"]])
|
||||||
one-node [:button {:title "key the selection at the playhead (K)"
|
|
||||||
:on-click (run key-here)} "◆ key"])
|
|
||||||
(when hold?
|
(when hold?
|
||||||
[:<>
|
[:<>
|
||||||
[:button {:aria-label "one frame shorter" :title "one frame shorter (−)"
|
[:button {:aria-label "one frame shorter" :title "one frame shorter (−)"
|
||||||
|
|
@ -723,10 +721,10 @@
|
||||||
[:div.group.creation-controls {:aria-label "create"}
|
[:div.group.creation-controls {:aria-label "create"}
|
||||||
[:button {:title "create a symbol in the selected location (N)"
|
[:button {:title "create a symbol in the selected location (N)"
|
||||||
:on-click (act [::ui/new-symbol :inside])}
|
:on-click (act [::ui/new-symbol :inside])}
|
||||||
[icon/view :symbol] " symbol"]
|
[icon/view :symbol] " + symbol"]
|
||||||
[:button {:title "create a lane in the selected location (⇧N)"
|
[:button {:title "create a lane in the selected location (⇧N)"
|
||||||
:on-click (act [::ui/new-lane])}
|
:on-click (act [::ui/new-lane])}
|
||||||
[icon/view :lane] " lane"]]
|
[icon/view :lane] " + lane"]]
|
||||||
[:button.auto-key {:class (when auto? "on")
|
[:button.auto-key {:class (when auto? "on")
|
||||||
:aria-pressed auto?
|
:aria-pressed auto?
|
||||||
:title (if auto?
|
:title (if auto?
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue