mirror of
https://github.com/penpot/penpot.git
synced 2025-05-22 22:26:11 +02:00
Use not resizable selection component for shape component.
When no edition mode is activated.
This commit is contained in:
parent
0a547aed4c
commit
f2ebb75199
1 changed files with 4 additions and 3 deletions
|
@ -187,9 +187,10 @@
|
||||||
|
|
||||||
:else
|
:else
|
||||||
(cond
|
(cond
|
||||||
(and (= :path (:type shape))
|
(= :path (:type shape))
|
||||||
(= @edition-ref (:id shape)))
|
(if (= @edition-ref (:id shape))
|
||||||
(path-edition-selection-handlers shape)
|
(path-edition-selection-handlers shape)
|
||||||
|
(single-not-editable-selection-handlers shape))
|
||||||
|
|
||||||
:else
|
:else
|
||||||
(single-selection-handlers (first shapes))))))
|
(single-selection-handlers (first shapes))))))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue