mirror of
https://github.com/penpot/penpot.git
synced 2025-02-10 09:08:31 -05:00
:lisptick: Cosmetic changes.
This commit is contained in:
parent
0cad1a1e7e
commit
9554dfbc5e
2 changed files with 3 additions and 4 deletions
|
@ -10,13 +10,13 @@
|
|||
[app.main.data.users :as du]
|
||||
[app.main.store :as st]
|
||||
[app.main.ui.releases.common :as rc]
|
||||
[app.main.ui.releases.v1-10]
|
||||
[app.main.ui.releases.v1-4]
|
||||
[app.main.ui.releases.v1-5]
|
||||
[app.main.ui.releases.v1-6]
|
||||
[app.main.ui.releases.v1-7]
|
||||
[app.main.ui.releases.v1-8]
|
||||
[app.main.ui.releases.v1-9]
|
||||
[app.main.ui.releases.v1-10]
|
||||
[app.util.object :as obj]
|
||||
[app.util.timers :as tm]
|
||||
[rumext.alpha :as mf]))
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
[app.common.uuid :as uuid]
|
||||
[app.main.refs :as refs]
|
||||
[app.util.geom.grid :as gg]
|
||||
[okulary.core :as l]
|
||||
[rumext.alpha :as mf]))
|
||||
|
||||
(mf/defc square-grid [{:keys [frame zoom grid] :as props}]
|
||||
|
@ -67,14 +66,14 @@
|
|||
|
||||
(mf/defc grid-display-frame
|
||||
[{:keys [frame zoom]}]
|
||||
(for [[index {:keys [type display] :as grid}] (->> (:grids frame)
|
||||
(for [[index grid] (->> (:grids frame)
|
||||
(filter :display)
|
||||
(map-indexed vector))]
|
||||
(let [props #js {:key (str (:id frame) "-grid-" index)
|
||||
:frame frame
|
||||
:zoom zoom
|
||||
:grid grid}]
|
||||
(case type
|
||||
(case (:type grid)
|
||||
:square [:> square-grid props]
|
||||
:column [:> layout-grid props]
|
||||
:row [:> layout-grid props]))))
|
||||
|
|
Loading…
Add table
Reference in a new issue