mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
lst: do not use hardcoded constant
This commit is contained in:
@@ -75,9 +75,6 @@ import static com.intellij.diff.util.DiffDrawUtil.lineToY;
|
||||
import static com.intellij.diff.util.DiffUtil.getDiffType;
|
||||
import static com.intellij.diff.util.DiffUtil.getLineCount;
|
||||
|
||||
/**
|
||||
* @author irengrig
|
||||
*/
|
||||
public class LineStatusTrackerDrawing {
|
||||
private LineStatusTrackerDrawing() {
|
||||
}
|
||||
@@ -551,7 +548,7 @@ public class LineStatusTrackerDrawing {
|
||||
}
|
||||
|
||||
public int getEditorTextOffset() {
|
||||
return 3;
|
||||
return myEditorComponent.getInsets().left;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user