Add multi-object stage selection and transforms

This commit is contained in:
Your Name 2026-10-02 09:09:18 -04:00
parent b41180db08
commit dff23d7994
10 changed files with 315 additions and 44 deletions

View file

@ -182,6 +182,14 @@
(is (empty? (get-in after [:ui :expanded]))
"and there are no rows above the top to open")))
(deftest a-primary-selection-also-starts-the-stage-selection-set
(let [doc (fixture/document)
id (store/install! {:clip doc :store {}} "primary-stage-selection")
address [:node :main :insert [:insert]]
after (ui/selected {:clip/current id :ui {}} address)]
(is (= address (get-in after [:ui :selection])))
(is (= [address] (get-in after [:ui :selections])))))
(deftest finishing-a-polygon-opens-no-rows
;; Expansion is the twist triangle's business. Finishing a shape used to open
;; every row down to it, which inside a lane meant tearing its one row into a