mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Registry: remove "ide.scroll.thumb.border.rounded" property
This commit is contained in:
@@ -115,15 +115,7 @@ class ScrollPainter extends RegionPainter.Alpha {
|
||||
}
|
||||
|
||||
protected void draw(Graphics2D g, int x, int y, int width, int height) {
|
||||
if (Registry.is("ide.scroll.thumb.border.rounded")) {
|
||||
g.drawLine(x + 1, y, x + width - 2, y);
|
||||
g.drawLine(x + 1, y + height - 1, x + width - 2, y + height - 1);
|
||||
g.drawLine(x, y + 1, x, y + height - 2);
|
||||
g.drawLine(x + width - 1, y + 1, x + width - 1, y + height - 2);
|
||||
}
|
||||
else {
|
||||
g.drawRect(x, y, width - 1, height - 1);
|
||||
}
|
||||
g.drawRect(x, y, width - 1, height - 1);
|
||||
}
|
||||
|
||||
private static class Round extends ScrollPainter {
|
||||
|
||||
@@ -115,7 +115,6 @@ ide.scroll.default.unit.increment.description=Use default unit increment from Ja
|
||||
ide.scroll.new.layout=true
|
||||
ide.scroll.align.component=true
|
||||
ide.scroll.background.auto=true
|
||||
ide.scroll.thumb.border.rounded=false
|
||||
ide.scroll.thumb.small.if.opaque=true
|
||||
|
||||
mac.scroll.horizontal.gap=false
|
||||
|
||||
Reference in New Issue
Block a user