zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
46.93k stars 2.7k forks source link

Weird gradient backgrounds when navigating with Ctrl+D #15760

Open theteachr opened 1 month ago

theteachr commented 1 month ago

Check for existing issues

When I press Ctrl + D to scroll down on https://github.com/theteachr/fortune/blob/main/lib/native/deck.ml, I see line backgrounds in a gradient. image So far, only seeing this behaviour on this specific file.

Environment

Zed: v0.146.5 (Zed) OS: macOS 14.5.0 Memory: 32 GiB Architecture: aarch64

JosephTLyons commented 1 month ago

Hey @theteachr, just curious, which theme are you using?

theteachr commented 1 month ago

Rosé Pine. But it happens with all of them.

theteachr commented 1 month ago

https://github.com/user-attachments/assets/d2b76713-fd36-44ef-b0fc-55227573e82b

It most likely seems related to highlighting occurrences. Not only Ctrl D, but also when I click on lines, the gradient appears.