IDEA-349285 Glitches on Quick docs when using dark theme

GitOrigin-RevId: 09bf2300964b4f586fa23ecc85d4eb210cb094fd
This commit is contained in:
Piotr Tomiak
2024-03-26 17:57:14 +00:00
committed by intellij-monorepo-bot
parent 24e7183ed5
commit cca4330918
@@ -101,9 +101,11 @@ internal class DocumentationUI(
trackDocumentationBackgroundChange(this) {
// Force update of the background color for scroll pane
@Suppress("UseJBColor")
scrollPane.viewport.background = Color(it.rgb)
locationLabel.background = it
switcherToolbarComponent.background = it
val color = Color(it.rgb)
editorPane.parent.background = color
scrollPane.viewport.background = color
locationLabel.background = color
switcherToolbarComponent.background = color
}
browser.ui = this