mirror of
https://github.com/penpot/penpot.git
synced 2025-06-06 01:31:40 +02:00
🎉 Add many functions to assets panel and big refactor
This commit is contained in:
parent
3c7dda02c6
commit
b2fef7b7a8
9 changed files with 906 additions and 446 deletions
|
@ -105,7 +105,9 @@
|
|||
{:class (dom/classnames :is-selected (and selected (= option-name selected)))
|
||||
:key option-name}
|
||||
(if-not sub-options
|
||||
[:a.context-menu-action {:on-click option-handler}
|
||||
[:a.context-menu-action {:on-click #(do (dom/stop-propagation %)
|
||||
(on-close)
|
||||
(option-handler %))}
|
||||
option-name]
|
||||
[:a.context-menu-action.submenu
|
||||
{:data-no-close true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue