mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
IDEA-148086 Empty gutter in console became wider - increase gap to 1 px for console
This commit is contained in:
+6
-1
@@ -1214,7 +1214,12 @@ class EditorGutterComponentImpl extends EditorGutterComponentEx implements Mouse
|
||||
}
|
||||
|
||||
public int getLineNumberAreaOffset() {
|
||||
return getLineNumberAreaWidth() == 0 && getAnnotationsAreaWidthEx() == 0 && getLineMarkerAreaWidth() == 0 ? 0 : GAP_BETWEEN_AREAS;
|
||||
if (getLineNumberAreaWidth() == 0 && getAnnotationsAreaWidthEx() == 0 && getLineMarkerAreaWidth() == 0) {
|
||||
return getFoldingAreaWidth() == 0 ? 0 : 1;
|
||||
}
|
||||
else {
|
||||
return GAP_BETWEEN_AREAS;
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user