Use not resizable selection component for shape component.

When no edition mode is activated.
This commit is contained in:
Andrey Antukh
2016-08-23 16:30:03 +03:00
parent 0a547aed4c
commit f2ebb75199

View File

@@ -187,9 +187,10 @@
:else
(cond
(and (= :path (:type shape))
(= @edition-ref (:id shape)))
(path-edition-selection-handlers shape)
(= :path (:type shape))
(if (= @edition-ref (:id shape))
(path-edition-selection-handlers shape)
(single-not-editable-selection-handlers shape))
:else
(single-selection-handlers (first shapes))))))