mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-150906 / IDEA-149395 calculate scroll background from view automatically
This commit is contained in:
@@ -57,7 +57,7 @@ final class ScrollColorProducer implements NotNullProducer<Color> {
|
||||
Color background = JBScrollPane.getViewBackground((JScrollPane)parent);
|
||||
if (background != null) {
|
||||
if (!background.equals(myOriginal)) {
|
||||
myModified = ColorUtil.shift(background, ColorUtil.isDark(background) ? 1.05 : 0.98);
|
||||
myModified = ColorUtil.shift(background, ColorUtil.isDark(background) ? 1.05 : 0.96);
|
||||
myOriginal = background;
|
||||
}
|
||||
return myModified;
|
||||
|
||||
@@ -111,7 +111,7 @@ ide.splitter.mouseZone=6
|
||||
ide.smart.horizontal.scrolling=true
|
||||
ide.scroll.new.layout=true
|
||||
ide.scroll.align.component=true
|
||||
ide.scroll.background.auto=false
|
||||
ide.scroll.background.auto=true
|
||||
ide.scroll.background.wide=false
|
||||
ide.scroll.bar.expand.animation=false
|
||||
ide.scroll.track.border.paint=false
|
||||
|
||||
Reference in New Issue
Block a user