From e9bc0797b2fd5c69afb4c1d1331ee51e876d00d4 Mon Sep 17 00:00:00 2001 From: Sergey Malenkov Date: Thu, 15 Sep 2016 18:58:47 +0300 Subject: [PATCH] Registry: remove "ide.scroll.background.wide" property --- .../src/com/intellij/ui/components/DefaultScrollBarUI.java | 4 ---- platform/util/resources/misc/registry.properties | 1 - 2 files changed, 5 deletions(-) diff --git a/platform/platform-api/src/com/intellij/ui/components/DefaultScrollBarUI.java b/platform/platform-api/src/com/intellij/ui/components/DefaultScrollBarUI.java index d935186d3d8f..46ac0467e4a5 100644 --- a/platform/platform-api/src/com/intellij/ui/components/DefaultScrollBarUI.java +++ b/platform/platform-api/src/com/intellij/ui/components/DefaultScrollBarUI.java @@ -122,10 +122,6 @@ class DefaultScrollBarUI extends ScrollBarUI { void paintTrack(Graphics2D g, int x, int y, int width, int height, JComponent c) { RegionPainter p = ScrollColorProducer.isDark(c) ? ScrollPainter.Track.DARCULA : ScrollPainter.Track.DEFAULT; - if (!isTrackExpandable() && Registry.is("ide.scroll.background.wide")) { - p.paint(g, x, y, width, height, myTrackAnimator.myValue); - return; // temporary registry key for designer - } paint(p, g, x, y, width, height, c, myTrackAnimator.myValue, false); } diff --git a/platform/util/resources/misc/registry.properties b/platform/util/resources/misc/registry.properties index a07131a59a03..07d60e4dcedc 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.background.wide=false ide.scroll.bar.expand.animation=false ide.scroll.track.border.paint=false ide.scroll.thumb.border.rounded=false