mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[gh] Fix clipped commented code outline in Island Theme (IJPL-214524)
#IJPL-214524 Fixed GitOrigin-RevId: 93dfca249f76b08d2d7459b2a3d04a94510291c8
This commit is contained in:
committed by
intellij-monorepo-bot
parent
5bfc428eda
commit
73d8a23b64
+2
-1
@@ -37,7 +37,7 @@ class CommentedCodeFrameRenderer(
|
||||
}
|
||||
|
||||
override fun paint(editor: Editor, g: Graphics, r: Rectangle) { // gutter part
|
||||
val x = 1f
|
||||
val x = OUTER_GUTTER_FRAME_PADDING
|
||||
val width = (editor as? EditorEx)?.gutterComponentEx?.width?.toFloat() ?: 0f
|
||||
val (y, height) = editor.getYAxisValues()
|
||||
val path = createLeftOutlinePath(x, y, width, height)
|
||||
@@ -86,6 +86,7 @@ class CommentedCodeFrameRenderer(
|
||||
}
|
||||
|
||||
companion object {
|
||||
private const val OUTER_GUTTER_FRAME_PADDING = 2f
|
||||
private val color: Color = CodeReviewColorUtil.Review.LineFrame.border
|
||||
private val stroke: Stroke = BasicStroke(JBUIScale.scale(1f))
|
||||
private val radius: Int get() = JBUIScale.scale(4)
|
||||
|
||||
Reference in New Issue
Block a user