mirror of
https://github.com/penpot/penpot.git
synced 2025-05-23 21:46:12 +02:00
🎉 Initial work on multicanvas setup.
Preparing the workspace code to be able handle multiple canvas in a single page.
This commit is contained in:
parent
f8ff79e23c
commit
8d03ff40ab
16 changed files with 176 additions and 271 deletions
|
@ -71,7 +71,7 @@
|
|||
stoper (->> ws/interaction-events
|
||||
(rx/filter ws/mouse-up?)
|
||||
(rx/take 1))
|
||||
stream (->> ws/canvas-mouse-position
|
||||
stream (->> ws/viewport-mouse-position
|
||||
(rx/take-until stoper)
|
||||
(rx/map apply-zoom)
|
||||
(rx/mapcat apply-grid-alignment)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue