mirror of
https://github.com/penpot/penpot.git
synced 2025-03-26 06:31:26 -05:00
🐛 Removed locate grid from normal grid menu
This commit is contained in:
parent
96f2b13d74
commit
8b2ae380b0
1 changed files with 2 additions and 11 deletions
|
@ -1375,12 +1375,7 @@
|
|||
handle-open-grid-help
|
||||
(mf/use-callback
|
||||
(fn []
|
||||
(st/emit! (dom/open-new-window cf/grid-help-uri))))
|
||||
|
||||
handle-locate-grid
|
||||
(mf/use-callback
|
||||
(fn []
|
||||
(st/emit! (dwge/locate-board (first ids)))))]
|
||||
(st/emit! (dom/open-new-window cf/grid-help-uri))))]
|
||||
|
||||
(if new-css-system
|
||||
[:div {:class (stl/css :element-set)}
|
||||
|
@ -1480,11 +1475,7 @@
|
|||
:set-justify set-justify-grid}]
|
||||
[:& justify-grid-row {:is-col? false
|
||||
:justify-items grid-justify-content-row
|
||||
:set-justify set-justify-grid}]
|
||||
|
||||
[:button {:on-click handle-locate-grid
|
||||
:class (stl/css :locate-button)}
|
||||
i/locate-refactor]]]
|
||||
:set-justify set-justify-grid}]]]
|
||||
nil)))]
|
||||
|
||||
[:div.element-set
|
||||
|
|
Loading…
Add table
Reference in a new issue