mirror of
https://github.com/penpot/penpot.git
synced 2025-01-10 08:50:57 -05:00
🐛 Fix menu context for single element nested in components
This commit is contained in:
parent
1a61c855ca
commit
4b1fa2589e
2 changed files with 2 additions and 3 deletions
|
@ -11,6 +11,7 @@
|
|||
### :bug: Bugs fixed
|
||||
|
||||
- Fix problem with overflow dropdown on stroke-cap [#1216](https://github.com/penpot/penpot/issues/1216)
|
||||
- Fix menu context for single element nested in components [#1186](https://github.com/penpot/penpot/issues/1186)
|
||||
|
||||
### :arrow_up: Deps updates
|
||||
### :boom: Breaking changes
|
||||
|
|
|
@ -279,9 +279,7 @@
|
|||
[:& menu-entry {:title (tr "workspace.shape.menu.delete-flow-start")
|
||||
:on-click (do-remove-flow flow)}])))
|
||||
|
||||
(when (and (or (nil? (:shape-ref shape))
|
||||
(> (count selected) 1))
|
||||
(not= (:type shape) :frame))
|
||||
(when (not= (:type shape) :frame)
|
||||
[:*
|
||||
[:& menu-separator]
|
||||
[:& menu-entry {:title (tr "workspace.shape.menu.create-component")
|
||||
|
|
Loading…
Reference in a new issue