mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-24 05:35:15 +00:00
fix: default steps expanded unless done
This commit is contained in:
parent
acd2d77e47
commit
f4336b504a
1 changed files with 4 additions and 0 deletions
|
|
@ -269,6 +269,10 @@ export function SessionTurn(
|
|||
|
||||
createEffect((prev) => {
|
||||
const isWorking = working()
|
||||
if (!prev && isWorking) {
|
||||
setStore("stepsExpanded", true)
|
||||
props.onStepsExpandedChange?.(true)
|
||||
}
|
||||
if (prev && !isWorking && !state.userScrolled) {
|
||||
setStore("stepsExpanded", false)
|
||||
props.onStepsExpandedChange?.(false)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue