Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: inline color preview on hover on the color box #1983

Merged
merged 1 commit into from
Dec 11, 2024
Merged

feat: inline color preview on hover on the color box #1983

merged 1 commit into from
Dec 11, 2024

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.

Copy link

sonarcloud bot commented Dec 10, 2024

@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.

1 participant