private static int getStepSize(int lineHeight) {
    // the divider needs ~3 half-periods (6 steps) to be drawn nicely
    return Math.max(JBUIScale.scale(Registry.intValue("diff.divider.width")) / 6, 2);
  }
private static int getStepSize(int lineHeight)