From 59cfcc4e200644f2b13a87351e8e2e7b629e1e62 Mon Sep 17 00:00:00 2001 From: "Egor.Ushakov" Date: Fri, 18 Nov 2016 19:48:52 +0300 Subject: [PATCH] fixed 1px green color line above in "on" mode --- .../src/com/intellij/ui/components/OnOffButton.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/platform-api/src/com/intellij/ui/components/OnOffButton.java b/platform/platform-api/src/com/intellij/ui/components/OnOffButton.java index 7fce58d04e1d..02b2c15a865c 100644 --- a/platform/platform-api/src/com/intellij/ui/components/OnOffButton.java +++ b/platform/platform-api/src/com/intellij/ui/components/OnOffButton.java @@ -1,5 +1,5 @@ /* - * Copyright 2000-2013 JetBrains s.r.o. + * Copyright 2000-2016 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -93,7 +93,7 @@ public class OnOffButton extends JToggleButton { int buttonArc = JBUI.scale(5); int vGap = JBUI.scale(4); int hGap = JBUI.scale(3); - int border = JBUI.scale(1); + int border = 1; final OnOffButton button = (OnOffButton)c; final Dimension size = button.getSize();