Skip to content

Conversation

@abose
Copy link
Member

@abose abose commented Dec 10, 2024

This change improves the inline color preview feature by addressing the issue of jarring highlights during cursor movement. Previously in discarded pr #1979, the line was highlighted whenever the cursor moved near a color, which was distracting during editing. This implementation ensures that line highlights are shown only when the user hovers over the color box.

The behavior aligns with user intent, as hovering over the color box indicates a deliberate action to preview the color. This avoids interrupting the workflow and makes the feature more intuitive. The hover-based activation provides a clear visual representation of colors without interfering with the editing process.

@sonarqubecloud
Copy link

@abose abose merged commit 6c95208 into main Dec 11, 2024
17 of 18 checks passed
@abose abose deleted the g branch December 11, 2024 04:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants