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
No known key found for this signature in database
GPG key ID: 4DFEBCB8316A8B95

View file

@ -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))))))