diff --git a/platform/platform-api/src/com/intellij/ui/components/ScrollPainter.java b/platform/platform-api/src/com/intellij/ui/components/ScrollPainter.java index 0eb212d6360b..dc55b741496b 100644 --- a/platform/platform-api/src/com/intellij/ui/components/ScrollPainter.java +++ b/platform/platform-api/src/com/intellij/ui/components/ScrollPainter.java @@ -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 { diff --git a/platform/util/resources/misc/registry.properties b/platform/util/resources/misc/registry.properties index 167358bf96cd..9bcdb971016f 100644 --- a/platform/util/resources/misc/registry.properties +++ b/platform/util/resources/misc/registry.properties @@ -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