# settings ui: Fix panic from reading \`BufferLineHeight\` custom variant \(\#39631\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/4e932297a45508305f0b702dbe8da5376e0f8383)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 4e932297a45508305f0b702dbe8da5376e0f8383

Requested commit: 4e932297a45508305f0b702dbe8da5376e0f8383

Commit: 4e932297a45508305f0b702dbe8da5376e0f8383

Tree: 74540aed8ffa8947ad33c4044addb430b9612e30

Author: Anthony Eid

Committer: GitHub

## Message

```
settings ui: Fix panic from reading `BufferLineHeight` custom variant (#39631)

The panic happened when a user had a settings file with a buffer line
height custom variant, because the drop-down renderer only took into
account the two named variants.

The fix for this will be creating a custom element that allows a user to
manually input a line height greater than one or select either
Comfortable or Standard.

Release Notes:

- N/A
```

## Parents

- [b2f0b1b168fc68c0870f3711a8f788334045366d](https://git.cafe/gitcafe/zed/commit/b2f0b1b168fc68c0870f3711a8f788334045366d?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/4e932297a45508305f0b702dbe8da5376e0f8383?format=markdown)
