mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-19 08:09:51 +00:00
tui: keep file tree open at its minimum resized width (#18777)
This commit is contained in:
parent
36dfe1646b
commit
77b3b46788
1 changed files with 0 additions and 2 deletions
|
|
@ -438,12 +438,10 @@ export function SessionSidePanel(props: {
|
|||
size={layout.fileTree.width()}
|
||||
min={200}
|
||||
max={480}
|
||||
collapseThreshold={160}
|
||||
onResize={(width) => {
|
||||
props.size.touch()
|
||||
layout.fileTree.resize(width)
|
||||
}}
|
||||
onCollapse={layout.fileTree.close}
|
||||
/>
|
||||
</div>
|
||||
</Show>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue