Browse Source

改一下代码质量

newui
Leo.Qin 12 months ago
parent
commit
5c0b502118
  1. 4
      designer-base/src/main/java/com/fr/design/mainframe/EastRegionContainerPane.java
  2. 2
      designer-base/src/main/java/com/fr/design/mainframe/widget/accessibles/BaseAccessibleEditor.java

4
designer-base/src/main/java/com/fr/design/mainframe/EastRegionContainerPane.java

@ -1273,9 +1273,9 @@ public class EastRegionContainerPane extends UIEastResizableContainer {
private UIButton createPopupButton(String type) {
UIButton popupButton = new UIButton();
if (type.equals(UP_BUTTON)) {
if (StringUtils.equals(type, UP_BUTTON)) {
popupButton = new UIButton(new LazyIcon("collapse_popup"));
} else if (type.equals(DOWN_BUTTON)) {
} else if (StringUtils.equals(type, DOWN_BUTTON)) {
popupButton = new UIButton(new LazyIcon("expand_popup"));
}
popupButton.setUI(new UIButtonUI());

2
designer-base/src/main/java/com/fr/design/mainframe/widget/accessibles/BaseAccessibleEditor.java

@ -32,7 +32,7 @@ import java.util.ArrayList;
/**
* 编辑器
* @aauthor
* @author anonymous
* @created on 2023/12/13
* @since 6.5.3
*/

Loading…
Cancel
Save