# Fix traffic light padding on macOS SDK 26\+ builds \(\#58245\) · gitcafe/zed

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

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

Visibility: public

Requested revision: eb03be7ae23c691a16960f09e4eb369aad4b9571

Requested commit: eb03be7ae23c691a16960f09e4eb369aad4b9571

Commit: eb03be7ae23c691a16960f09e4eb369aad4b9571

Tree: 4592f8eacc0fdfbf66bd918b2da1f107e0818da0

Author: Albert Bogusz

Committer: GitHub

## Message

```
Fix traffic light padding on macOS SDK 26+ builds (#58245)

Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [ ] ~~Unsafe blocks (if any) have justifying comments~~ (N/A)
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [ ] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

Corrects the value used for traffic light clearance/padding when
building with the macOS 26 SDK (or later). This was originally fixed in
#45351 but regressed in #48800 where `TRAFFIC_LIGHT_PADDING` was moved
to `ui/src/utils/constants.rs` but the local `build.rs` in `title_bar`
did not apply to the `ui` crate.

Release Notes:

- N/A
```

## Parents

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

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