mirror of
https://github.com/penpot/penpot.git
synced 2025-07-18 08:07:14 +02:00
🚧 Initial work on multicanvas feature.
This commit is contained in:
parent
176ca590e1
commit
807555d478
32 changed files with 1408 additions and 1495 deletions
|
@ -25,7 +25,7 @@
|
|||
(watch [_ state stream]
|
||||
(let [pid (get-in state [:workspace :current])
|
||||
wst (get-in state [:workspace pid])
|
||||
stoper (->> ws/interaction-events
|
||||
stoper (->> stream
|
||||
(rx/filter ws/mouse-up?)
|
||||
(rx/take 1))
|
||||
stream (->> ws/mouse-position-deltas
|
||||
|
@ -58,7 +58,8 @@
|
|||
(and (not selected?) (empty? selected))
|
||||
(do
|
||||
(dom/stop-propagation event)
|
||||
(st/emit! (dw/select-shape id)
|
||||
(st/emit! (dw/deselect-all)
|
||||
(dw/select-shape id)
|
||||
(start-move-selected)))
|
||||
|
||||
(and (not selected?) (not (empty? selected)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue