remove unneeded extra padding in gutter when code folding outline is hidden, but line numbers are shown

This commit is contained in:
Dmitry Batrak
2014-10-16 13:25:44 +04:00
parent 8560789383
commit f4c4dd4add
@@ -989,7 +989,7 @@ class EditorGutterComponentImpl extends EditorGutterComponentEx implements Mouse
public int getFoldingAreaWidth() {
return isFoldingOutlineShown()
? getFoldingAnchorWidth() + 2
: isLineNumbersShown() ? getFoldingAnchorWidth() / 2 : 0;
: 0;
}
@Override