Browse Source

REPORT-92304 设计器-图标-三角形需要更新,统一下SvgPaintUtils的处理位置

release/11.0
obo 2 years ago
parent
commit
83ecaed30f
  1. 2
      designer-base/src/main/java/com/fr/design/gui/icontainer/UIEastResizableContainer.java

2
designer-base/src/main/java/com/fr/design/gui/icontainer/UIEastResizableContainer.java

@ -325,7 +325,6 @@ public class UIEastResizableContainer extends JPanel {
@Override
public void paint(Graphics g) {
Image button;
SvgPaintUtils.beforePaint((Graphics2D) g);
if (containerWidth == leftPaneWidth) {
if (model == UIConstants.MODEL_NORMAL) {
button = UIConstants.DRAG_LEFT_NORMAL;
@ -339,6 +338,7 @@ public class UIEastResizableContainer extends JPanel {
button = UIConstants.DRAG_RIGHT_PRESS;
}
}
SvgPaintUtils.beforePaint((Graphics2D) g);
g.drawImage(button, 18, 7, this);
SvgPaintUtils.afterPaint((Graphics2D) g);
}

Loading…
Cancel
Save