chore: generate

This commit is contained in:
opencode-agent[bot]
2026-05-08 11:56:55 +00:00
parent 19da27e1cb
commit a196569f51
2 changed files with 7 additions and 10 deletions

View File

@@ -263,10 +263,7 @@ function WhichKeyPanel(props: {
(sum, item) => sum + (item.type === "tab" ? item.group.label.length + 2 : 3),
0,
)
return Math.max(
MIN_TAB_GAP,
Math.min(TAB_GAP, Math.floor((contentWidth() - itemWidth) / (itemCount - 1))),
)
return Math.max(MIN_TAB_GAP, Math.min(TAB_GAP, Math.floor((contentWidth() - itemWidth) / (itemCount - 1))))
})
const nextMode = createMemo(() => (props.mode() === "dock" ? "overlay" : "dock"))
const look = createMemo(() => skin(props.api))