Browse Source

REPORT-4868 设计器视觉bug修改(二)部分=>5(滚动条)Mac下向右滑动的残影问题

master
plough 7 years ago
parent
commit
3a05ce6e5d
  1. 3
      designer_base/src/com/fr/design/mainframe/JSliderPane.java

3
designer_base/src/com/fr/design/mainframe/JSliderPane.java

@ -455,10 +455,7 @@ class JSliderPaneUI extends BasicSliderUI {
Graphics2D g2d = (Graphics2D) g;
g2d.translate(knobBounds.x, knobBounds.y);
// g2d.setColor(slider.getBackground());
// g2d.fillRect(0, FOUR, FOUR, 9);
g2d.setColor(new Color(51, 51, 52));
g2d.drawRoundRect(0, SIX, FOUR, 9, 2, 2);
g2d.fillRoundRect(0, SIX, FOUR, 9, 2, 2);
}

Loading…
Cancel
Save