# acp_tools: Only toggle ACP log expansion from header clicks \(\#50981\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 4ad582a47f66058a4d72989755376e2463fb79e4

Requested commit: 4ad582a47f66058a4d72989755376e2463fb79e4

Commit: 4ad582a47f66058a4d72989755376e2463fb79e4

Tree: 15cbf6e4db00e1f19f733abc646a7bd9f60adacd

Author: Xiaobo Liu

Committer: GitHub

## Message

```
acp_tools: Only toggle ACP log expansion from header clicks (#50981)

Release Notes:

- Added only toggle ACP log expansion from header clicks

This change limits expand/collapse in open acp logs to header clicks
only, instead of the entire message row. It prevents accidental
expand/zoom toggles when users click or drag inside log text, making it
easier to select and copy debug information.


before:



https://github.com/user-attachments/assets/ceea7a6c-9b6a-4a38-8926-3c43f2bfb74e




after:




https://github.com/user-attachments/assets/f07537b1-70f1-4537-b38a-4148a84b41c7

Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com>
```

## Parents

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

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