mirror of
https://github.com/penpot/penpot.git
synced 2025-08-02 23:28:31 +02:00
Minor refactor of workarea rules and grid.
This commit is contained in:
parent
c182340be4
commit
f7b902a7ef
5 changed files with 98 additions and 75 deletions
|
@ -13,7 +13,7 @@
|
|||
[uxbox.ui.dom :as dom]
|
||||
[uxbox.ui.util :as util]
|
||||
[uxbox.ui.workspace.base :as wb]
|
||||
[uxbox.ui.workspace.rules :as wr]
|
||||
[uxbox.ui.workspace.grid :refer (grid)]
|
||||
[uxbox.ui.workspace.toolboxes :as toolboxes]))
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
@ -147,6 +147,8 @@
|
|||
(reset! wb/shapes-dragging? false))
|
||||
}
|
||||
(background)
|
||||
(grid 1)
|
||||
|
||||
[:svg.page-layout {}
|
||||
(for [shapeid (:shapes page)
|
||||
:let [item (get-in page [:shapes-by-id shapeid])]]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue