Skip to content

Commit

Permalink
Removed the reference to SEPARATOR_ABOVE_COLOR (#1453)
Browse files Browse the repository at this point in the history
## Test plan

Build the plugin and load it in IntelliJ 2022.3 or newer. Check the log
for occurrences of `NoSuchFieldError`.
  • Loading branch information
odisseus authored May 6, 2024
1 parent c13b40e commit 0796b65
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ class CommandPanelIgnoreBanner() : NonOpaquePanel() {

// These colors cribbed from EditorComposite, createTopBottomSideBorder
val scheme = EditorColorsManager.getInstance().globalScheme
val borderColor =
scheme.getColor(EditorColors.SEPARATOR_ABOVE_COLOR)
?: scheme.getColor(EditorColors.TEARLINE_COLOR)
val borderColor = scheme.getColor(EditorColors.TEARLINE_COLOR)
border = SideBorder(borderColor, SideBorder.TOP or SideBorder.BOTTOM)
}

Expand Down

0 comments on commit 0796b65

Please sign in to comment.