mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-349443 ui: fix VCS Log graph rendering with 'Set Background Image' feature enabled
IdeBackgroundUtil uses a custom Graphics2DDelegate to draw the background image. LinePainter2D ignores custom Stroke, and that breaks line rendering. GitOrigin-RevId: d08c7688c179a14628afd09d7f41c975021ab336
This commit is contained in:
committed by
intellij-monorepo-bot
parent
84f3e5d473
commit
571944883b
@@ -1,7 +1,6 @@
|
||||
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.ui;
|
||||
|
||||
import com.intellij.ui.paint.LinePainter2D;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.awt.*;
|
||||
@@ -119,7 +118,7 @@ public class Graphics2DDelegate extends Graphics2D{
|
||||
|
||||
@Override
|
||||
public void drawLine(int x1, int y1, int x2, int y2) {
|
||||
LinePainter2D.paint(myDelegate, x1, y1, x2, y2);
|
||||
myDelegate.drawLine(x1, y1, x2, y2);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user