Browse Source

fix:代码规范

feature/x
kerry 2 years ago
parent
commit
e1c6e99c1b
  1. 6
      designer-base/src/main/java/com/fr/design/file/MultiTemplateTabPane.java

6
designer-base/src/main/java/com/fr/design/file/MultiTemplateTabPane.java

@ -668,14 +668,14 @@ public class MultiTemplateTabPane extends JComponent {
private boolean isOverCloseIcon(int evtX) {
boolean isOverCloseIcon = false;
boolean overCloseIcon = false;
for (int i = 0; i < startX.length; i++) {
if (evtX >= startX[i] && evtX <= startX[i] + CLOSE.getIconWidth()) {
isOverCloseIcon = true;
overCloseIcon = true;
break;
}
}
return isOverCloseIcon;
return overCloseIcon;
}

Loading…
Cancel
Save