# Fix branch selector default and loading behavior in worktree mode · screen/t3code-personal

[View on GitCafe](https://git.cafe/screen/t3code-personal/commit/9ca9a862a5d31f4f7dcf0d0fe263ed54026347d5)

Repository: [screen/t3code-personal](https://git.cafe/screen/t3code-personal)

Visibility: public

Requested revision: 9ca9a862a5d31f4f7dcf0d0fe263ed54026347d5

Requested commit: 9ca9a862a5d31f4f7dcf0d0fe263ed54026347d5

Commit: 9ca9a862a5d31f4f7dcf0d0fe263ed54026347d5

Tree: 7db70037e2a01c9e82780e1a2c2ad49d277e4a7b

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Fix branch selector default and loading behavior in worktree mode

- Default new worktree branch selection to the current checked-out branch when unset
- Extract branch value resolution into shared logic with tests
- Stabilize virtualized branch list scroll/measurement to avoid loading glitches

```

## Parents

- [827dc9ff9fce243c48125201c26bed81c4042573](https://git.cafe/screen/t3code-personal/commit/827dc9ff9fce243c48125201c26bed81c4042573?format=markdown)

[Source at this commit](https://git.cafe/screen/t3code-personal/tree/9ca9a862a5d31f4f7dcf0d0fe263ed54026347d5?format=markdown)
