mirror of
https://github.com/chylex/IntelliJ-Inspection-Lens.git
synced 2025-04-22 09:15:45 +02:00
Fix broken inlay underline rendering with some combinations of DPI and line height settings
This commit is contained in:
parent
8936f0e5be
commit
08ed1aadea
@ -67,7 +67,7 @@ class LensRenderer(private var info: HighlightInfo, settings: LensSettingsState)
|
||||
|
||||
val font = editor.colorsScheme.getFont(EditorFontType.PLAIN)
|
||||
val x = r.x + TEXT_HORIZONTAL_PADDING
|
||||
val y = r.y + editor.ascent + 1
|
||||
val y = r.y + editor.ascent
|
||||
val w = inlay.widthInPixels - UNDERLINE_WIDTH_REDUCTION - extraRightPadding
|
||||
val h = editor.descent
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user