🐛 Fix path options not showing when editing rects or ellipses

This commit is contained in:
alonso.torres 2023-03-22 14:45:19 +01:00
parent ea438d3626
commit f1b5ac27a9
2 changed files with 3 additions and 1 deletions

View file

@ -58,7 +58,8 @@
shape (or drawing-obj (-> selected first))]
(when (or (and (= (count selected) 1)
(= (:id shape) edition)
(cph/path-shape? shape))
(and (not (cph/text-shape? shape))
(not (cph/frame-shape? shape))))
(and (some? drawing-obj)
(cph/path-shape? drawing-obj)
(not= :curve (:tool drawing))))