Skip to content

Commit

Permalink
fix: use storage size
Browse files Browse the repository at this point in the history
  • Loading branch information
zyyv committed Mar 4, 2023
1 parent 85a9ea9 commit 7bf6956
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion playground/src/composables/panel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ export function normalizePanels() {
watch(
titleHeightPercent,
(value: number) => {
panelSizes.value = getInitialPanelSizes(value)
if (panelSizes.value.includes(100))
panelSizes.value = getInitialPanelSizes(value)
},
)

0 comments on commit 7bf6956

Please sign in to comment.