Browse Source

无jira任务 sonar问题修改

research/11.0
Bryant 5 years ago
parent
commit
c77189c329
  1. 5
      designer-base/src/main/java/com/fr/design/gui/syntax/print/RPrintUtilities.java

5
designer-base/src/main/java/com/fr/design/gui/syntax/print/RPrintUtilities.java

@ -522,9 +522,8 @@ public abstract class RPrintUtilities {
return x;
int tabSizeInPixels = tabSizeInSpaces * fm.charWidth(' ');
int ntabs = (((int) x) - xOffset) / tabSizeInPixels;
int reFloat = xOffset + ((ntabs + 1) * tabSizeInPixels);
float ans = reFloat;
return ans;
double reFloat = (double) xOffset + (double) ((ntabs + 1) * tabSizeInPixels);
return (float) reFloat;
}
}

Loading…
Cancel
Save