Skip to content

Commit

Permalink
IJPL-43556 VCS gutter stripes (changed lines) are too thin and too fa…
Browse files Browse the repository at this point in the history
…r from line start

GitOrigin-RevId: 3397046512652605e6446dccef7257aac096311c
  • Loading branch information
alexander-lobas authored and intellij-monorepo-bot committed Feb 13, 2025
1 parent 8ef9f60 commit 6a0258d
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,11 @@ public void paintComponent(Graphics g_) {
if (ExperimentalUI.isNewUI() && myPaintBackground && !DistractionFreeModeController.shouldMinimizeCustomHeader()) {
if (!myEditor.isStickyLinePainting()) { // suppress vertical line between gutter and editor on the sticky lines panel
g.setColor(getEditor().getColorsScheme().getColor(EditorColors.INDENT_GUIDE_COLOR));
LinePainter2D.paint(g, gutterSeparatorX, clip.y, gutterSeparatorX, clip.y + clip.height);
int separatorX = gutterSeparatorX;
if (JBUIScale.scale(1f) > 1) {
separatorX++;
}
LinePainter2D.paint(g, separatorX, clip.y, separatorX, clip.y + clip.height);
}
}

Expand Down

0 comments on commit 6a0258d

Please sign in to comment.