mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Use RectanglePainter instead of drawRect to meet HiDPI
This commit is contained in:
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 {
|
||||
|
||||
Reference in New Issue
Block a user