Use RectanglePainter instead of drawRect to meet HiDPI

This commit is contained in:
Sergey Malenkov
2016-12-14 13:06:35 +03:00
committed by Anton Tarasov
parent d62bc71fb8
commit ee804bb1f3
@@ -125,7 +125,7 @@ class ScrollPainter extends RegionPainter.Alpha {
}
protected void draw(Graphics2D g, int x, int y, int width, int height) {
g.drawRect(x, y, width - 1, height - 1);
RectanglePainter.DRAW.paint(g, x, y, width, height, null);
}
private static class Round extends ScrollPainter {