mirror of
https://github.com/penpot/penpot.git
synced 2025-07-30 03:47:21 +02:00
add new snap to gid btn and icon
This commit is contained in:
parent
0cd3442d86
commit
80ff709729
3 changed files with 73 additions and 1 deletions
|
@ -131,7 +131,12 @@
|
|||
{:alt "Grid (Ctrl + G)"
|
||||
:class (when (contains? flags :grid) "selected")
|
||||
:on-click (partial toggle :grid)}
|
||||
i/grid]]
|
||||
i/grid]
|
||||
[:li.tooltip.tooltip-bottom
|
||||
{:alt "Snap to grid"
|
||||
:class (when (contains? flags :grid) "selected")
|
||||
:on-click (partial toggle :grid)}
|
||||
i/grid-snap]]
|
||||
;; [:li.tooltip.tooltip-bottom
|
||||
;; {:alt "Align (Ctrl + A)"}
|
||||
;; i/alignment]]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue