From da209b75072038f3ba523da5738b6cd9fb88c842 Mon Sep 17 00:00:00 2001 From: "alonso.torres" Date: Thu, 9 Feb 2023 10:41:18 +0100 Subject: [PATCH] :bug: Fix problem with auto sizes --- common/src/app/common/geom/shapes/flex_layout/bounds.cljc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/common/src/app/common/geom/shapes/flex_layout/bounds.cljc b/common/src/app/common/geom/shapes/flex_layout/bounds.cljc index fea42fcad0..9cce53ed48 100644 --- a/common/src/app/common/geom/shapes/flex_layout/bounds.cljc +++ b/common/src/app/common/geom/shapes/flex_layout/bounds.cljc @@ -68,6 +68,12 @@ (gpt/add base-p (hv 0.01)) (gpt/add base-p (vv 0.01))] + col? + (conj (gpt/add base-p (vv min-height))) + + row? + (conj (gpt/add base-p (hv min-width))) + (and col? h-start?) (conj (gpt/add base-p (hv min-width)))