From ee733849931bda16b864766b3d7b92310496c05b Mon Sep 17 00:00:00 2001 From: Eva Date: Wed, 12 Jul 2023 10:35:20 +0200 Subject: [PATCH] :bug: Fix create typography with section closed --- CHANGES.md | 1 + frontend/src/app/main/ui/workspace/sidebar/assets.cljs | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGES.md b/CHANGES.md index f9d0b9534..2c5ab6946 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -76,6 +76,7 @@ - Locks shapes when moved inside a locked parent [Taiga #5252](https://tree.taiga.io/project/penpot/issue/5252) - Fix rotate several elements in bulk [Taiga #5165](https://tree.taiga.io/project/penpot/issue/5165) - Fix onboarding slides height [Taiga #5373](https://tree.taiga.io/project/penpot/issue/5373) +- Fix create typography with section closed [Taiga #5574](https://tree.taiga.io/project/penpot/issue/5574) ### :arrow_up: Deps updates diff --git a/frontend/src/app/main/ui/workspace/sidebar/assets.cljs b/frontend/src/app/main/ui/workspace/sidebar/assets.cljs index d67352717..8b8e66665 100644 --- a/frontend/src/app/main/ui/workspace/sidebar/assets.cljs +++ b/frontend/src/app/main/ui/workspace/sidebar/assets.cljs @@ -1879,6 +1879,7 @@ (mf/use-fn (mf/deps file-id) (fn [_] + (st/emit! (dw/set-assets-section-open file-id :typographies true)) (st/emit! (dwt/add-typography file-id)))) handle-change