mirror of
https://github.com/penpot/penpot.git
synced 2025-05-20 19:26: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
|
@ -41,6 +41,7 @@
|
||||||
- Fix problem with selected colors and texts [Taiga #5051](https://tree.taiga.io/project/penpot/issue/5051)
|
- Fix problem with selected colors and texts [Taiga #5051](https://tree.taiga.io/project/penpot/issue/5051)
|
||||||
- Fix problem when assigning color from palette or assets [Taiga #5050](https://tree.taiga.io/project/penpot/issue/5050)
|
- Fix problem when assigning color from palette or assets [Taiga #5050](https://tree.taiga.io/project/penpot/issue/5050)
|
||||||
- Fix shortcuts for alignment [Taiga #5030](https://tree.taiga.io/project/penpot/issue/5030)
|
- Fix shortcuts for alignment [Taiga #5030](https://tree.taiga.io/project/penpot/issue/5030)
|
||||||
|
- Fix path options not showing when editing rects or ellipses [Taiga #5053](https://tree.taiga.io/project/penpot/issue/5053)
|
||||||
|
|
||||||
### :heart: Community contributions by (Thank you!)
|
### :heart: Community contributions by (Thank you!)
|
||||||
- To @ondrejkonec: for contributing to the code with:
|
- To @ondrejkonec: for contributing to the code with:
|
||||||
|
|
|
@ -58,7 +58,8 @@
|
||||||
shape (or drawing-obj (-> selected first))]
|
shape (or drawing-obj (-> selected first))]
|
||||||
(when (or (and (= (count selected) 1)
|
(when (or (and (= (count selected) 1)
|
||||||
(= (:id shape) edition)
|
(= (:id shape) edition)
|
||||||
(cph/path-shape? shape))
|
(and (not (cph/text-shape? shape))
|
||||||
|
(not (cph/frame-shape? shape))))
|
||||||
(and (some? drawing-obj)
|
(and (some? drawing-obj)
|
||||||
(cph/path-shape? drawing-obj)
|
(cph/path-shape? drawing-obj)
|
||||||
(not= :curve (:tool drawing))))
|
(not= :curve (:tool drawing))))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue