# workspace: Fix inactive pane dimming \(\#29473\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 1fcd2647ed0de5db10c01925e225f6a6b4e9b90d

Requested commit: 1fcd2647ed0de5db10c01925e225f6a6b4e9b90d

Commit: 1fcd2647ed0de5db10c01925e225f6a6b4e9b90d

Tree: 7cf8ea13ae39b7cb7ded9d9bff365ac17834d33e

Author: Ron Harel

Committer: GitHub

## Message

```
workspace: Fix inactive pane dimming (#29473)

Closes #27173

Problem:

Active panes nested within axes were incorrectly receiving opacity
overlays, while inactive panes in nested structures would get multiple
overlays applied, making them appear darker than intended.

Solution:

I fixed this by distinguishing between leaf panes and axes in the
rendering pipeline, applying overlays only to elements that are both
leaf panes and not active, ensuring consistent visual treatment
regardless of their position in the hierarchy.

Release Notes:

- Fixed an issue where `inactive_opacity` settings would be applied to
panes multiple times and even to the active pane when nested within
another pane.
```

## Parents

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

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