Commit b0cf47ff authored by Kirill.Karnaukhov's avatar Kirill.Karnaukhov Committed by intellij-monorepo-bot
Browse files

[inline-completion] IDEA-333597: fix retrieving visible `Rectangle` out of...

[inline-completion] IDEA-333597: fix retrieving visible `Rectangle` out of `InlineCompletionGrayTextElement`

GitOrigin-RevId: 915cf21e436ce5ae909b25ac5ca63b0e34dd83e2
parent b2184c75
Showing with 2 additions and 2 deletions
+2 -2
......@@ -38,8 +38,8 @@ data class InlineCompletionGrayTextElement(override val text: String) : InlineCo
}
override fun getBounds(): Rectangle? {
val bounds = blockInlay?.bounds?.let { Rectangle(it) }
suffixInlay?.bounds?.let { bounds?.add(Rectangle(it)) }
val bounds = suffixInlay?.bounds?.let { Rectangle(it) }
blockInlay?.bounds?.let { bounds?.add(Rectangle(it)) }
return bounds
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment