Skip to content

Commit

Permalink
fix(app.store): also close style panel for setThemeGridOpen() used in…
Browse files Browse the repository at this point in the history
… header of v3
  • Loading branch information
tkohr committed Oct 23, 2024
1 parent 635325d commit f6a3d78
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/stores/app.store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ export const useAppStore = defineStore(

function setThemeGridOpen(open: boolean) {
themeGridOpen.value = open
if (themeGridOpen.value) {
styleEditorOpen.value = false
}
}

function toggleThemeGrid() {
Expand Down

0 comments on commit f6a3d78

Please sign in to comment.