Skip to content

editor: Fix gutter hitbox hover check#51405

Merged
MrSubidubi merged 1 commit intomainfrom
editor-gutter-hover
Mar 12, 2026
Merged

editor: Fix gutter hitbox hover check#51405
MrSubidubi merged 1 commit intomainfrom
editor-gutter-hover

Conversation

@MrSubidubi
Copy link
Copy Markdown
Member

@MrSubidubi MrSubidubi commented Mar 12, 2026

The gutter hitbox would previously check the hover using the position, ignoring any occluding hitboxes rendered above it.

This would then trigger the crease toggles to show which should not happen in that case, since the gutter was not really hovered.

Release Notes:

  • Fixed an issue where the crease toggles in the gutter would sometimes show when interacting with a popover present over the editor gutter.

@MrSubidubi MrSubidubi enabled auto-merge (squash) March 12, 2026 17:40
@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Mar 12, 2026
@zed-codeowner-coordinator zed-codeowner-coordinator bot requested review from a team, dinocosta and osiewicz and removed request for a team March 12, 2026 17:41
@zed-community-bot zed-community-bot bot added the staff Pull requests authored by a current member of Zed staff label Mar 12, 2026
@MrSubidubi MrSubidubi disabled auto-merge March 12, 2026 17:41
@MrSubidubi MrSubidubi enabled auto-merge (squash) March 12, 2026 17:41
@MrSubidubi MrSubidubi merged commit dcab464 into main Mar 12, 2026
40 checks passed
@MrSubidubi MrSubidubi deleted the editor-gutter-hover branch March 12, 2026 17:49
tommyming pushed a commit to tommyming/zed that referenced this pull request Mar 13, 2026
The gutter hitbox would previously check the hover using the position,
ignoring any occluding hitboxes rendered above it.

This would then trigger the crease toggles to show which should not
happen in that case, since the gutter was not really hovered.

Release Notes:

- Fixed an issue where the crease toggles in the gutter would sometimes
show when interacting with a popover present over the editor gutter.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement staff Pull requests authored by a current member of Zed staff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants