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

Remove underline on unhovered Links #598

Merged

Conversation

francisconoriega
Copy link
Contributor

IJ's default markdown does not show underline on links when they are not hovered, it only shows them on hovered. This matches that.

Since we currently don't support the more advance rounded border span for Focused state, I also included the underline for Focus.

Screen.Recording.2024-09-17.at.10.39.04.AM_H.265.mp4
Screen.Recording.2024-09-17.at.10.43.54.AM_H.265.mp4

cc: @rock3r

@rock3r rock3r assigned rock3r and francisconoriega and unassigned rock3r Sep 17, 2024
@rock3r rock3r self-requested a review September 17, 2024 16:55
@rock3r rock3r added the consistency Our UI presentation is not consistent with IJ label Sep 17, 2024
@rock3r rock3r enabled auto-merge (squash) September 17, 2024 16:55
Copy link
Collaborator

@rock3r rock3r left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@rock3r rock3r merged commit 52a4827 into JetBrains:main Sep 17, 2024
1 check passed
rock3r added a commit that referenced this pull request Sep 23, 2024
In #598, for some reason a drawStyle = Stroke(2f) was added to the
bridge focused link style, causing rendering of focused links to look
weird in the bridge. This fixes the issue, and also makes sure the
pressed links are also underlined, matching Swing's behaviour.
@rock3r rock3r mentioned this pull request Sep 23, 2024
rock3r added a commit that referenced this pull request Sep 23, 2024
In #598, for some reason a drawStyle = Stroke(2f) was added to the
bridge focused link style, causing rendering of focused links to look
weird in the bridge. This fixes the issue, and also makes sure the
pressed links are also underlined, matching Swing's behaviour.
rock3r pushed a commit that referenced this pull request Sep 24, 2024
Co-authored-by: Francisco Noriega <francisco.noriega@airbnb.com>
rock3r added a commit that referenced this pull request Sep 24, 2024
In #598, for some reason a drawStyle = Stroke(2f) was added to the
bridge focused link style, causing rendering of focused links to look
weird in the bridge. This fixes the issue, and also makes sure the
pressed links are also underlined, matching Swing's behaviour.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
consistency Our UI presentation is not consistent with IJ
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants