Visual adjustments

This commit is contained in:
alonso.torres 2022-10-27 16:34:26 +02:00
parent cebda20dd4
commit 0274567d83
9 changed files with 48 additions and 5 deletions

View file

@ -97,6 +97,8 @@
::layout-item-min-w
::layout-item-align-self]))
(defn layout? [shape]
(and (= :frame (:type shape)) (= :flex (:layout shape))))
(defn wrap? [{:keys [layout-wrap-type]}]
(= layout-wrap-type :wrap))