mirror of
https://github.com/penpot/penpot.git
synced 2025-05-19 15:16:11 +02:00
🐛 Fix path options not showing when editing rects or ellipses
This commit is contained in:
parent
ea438d3626
commit
f1b5ac27a9
2 changed files with 3 additions and 1 deletions
|
@ -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))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue