tui: keep file tree open at its minimum resized width (#18777)

This commit is contained in:
David Hill 2026-03-23 12:06:43 +00:00 committed by GitHub
parent 36dfe1646b
commit 77b3b46788
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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>