mirror of
https://github.com/penpot/penpot.git
synced 2026-04-26 11:48:28 +00:00
Put grid on top of shapes.
This commit is contained in:
parent
c0bf28682c
commit
cc7aef895e
@ -63,15 +63,16 @@
|
||||
:width width
|
||||
:height height}
|
||||
(background)
|
||||
(when (contains? flags :grid)
|
||||
(grid 1))
|
||||
[:svg.page-layout {}
|
||||
(shapes-selection)
|
||||
[:g.main {}
|
||||
(for [item (reverse (:shapes page))]
|
||||
(-> (uus/shape item)
|
||||
(rum/with-key (str item))))
|
||||
(draw-area)]]])))
|
||||
(draw-area)]]
|
||||
(when (contains? flags :grid)
|
||||
(grid 1))])))
|
||||
|
||||
|
||||
(def canvas
|
||||
(mx/component
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user