mirror of
https://github.com/penpot/penpot.git
synced 2025-05-31 06:26:12 +02:00
🐛 Fix edition mode of paths (and many perfomance improvements).
This commit is contained in:
parent
775166f5f2
commit
2c321cbdb8
10 changed files with 117 additions and 139 deletions
|
@ -12,6 +12,7 @@
|
|||
[rumext.core :as mx]
|
||||
[rumext.alpha :as mf]
|
||||
[uxbox.main.data.shapes :as uds]
|
||||
[uxbox.main.data.workspace :as udw]
|
||||
[uxbox.main.geom :as geom]
|
||||
[uxbox.main.refs :as refs]
|
||||
[uxbox.main.store :as st]
|
||||
|
@ -55,7 +56,7 @@
|
|||
;; TODO: handle grouping event propagation
|
||||
;; TODO: handle actions locking properly
|
||||
(dom/stop-propagation event)
|
||||
(st/emit! (uds/start-edition-mode id)))]
|
||||
(st/emit! (udw/start-edition-mode id)))]
|
||||
[:g.shape {:class (when selected? "selected")
|
||||
:on-double-click on-double-click
|
||||
:on-mouse-down on-mouse-down}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue