# gpui: Add interval in pattern \(\#26459\) · gitcafe/zed

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

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

Visibility: public

Requested revision: ba8b9ec2c7aa8b667892b5559f59437f4fe6e78c

Requested commit: ba8b9ec2c7aa8b667892b5559f59437f4fe6e78c

Commit: ba8b9ec2c7aa8b667892b5559f59437f4fe6e78c

Tree: 89cdaddf7e4f3aa56d56b9f43dd00fffb3d65ea2

Author: 0x2CA

Committer: GitHub

## Message

```
gpui: Add interval in pattern (#26459)

Closes #ISSUE

[git: Use font size to determine pattern slash width
#26446](https://github.com/zed-industries/zed/pull/26446)

This PR only uses font size as the slant line width, and here it further
uses line height as the slant line interval control.

before


![image](https://github.com/user-attachments/assets/a8f2406e-5eed-4528-a9a2-867513613fc7)


now


![image](https://github.com/user-attachments/assets/9b8ccca9-8023-4cb2-a6fe-0e42e19642a4)

big line height


![image](https://github.com/user-attachments/assets/4498e858-4f25-432c-80ee-355726d9c41b)


Release Notes:

- N/A *or* Added/Fixed/Improved ...
```

## Parents

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

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