Browse Source

REPORT-58713 加些注释

zheng-1641779399395
hades 3 years ago
parent
commit
98768ff108
  1. 2
      designer-form/src/main/java/com/fr/design/designer/creator/XCreator.java

2
designer-form/src/main/java/com/fr/design/designer/creator/XCreator.java

@ -803,6 +803,8 @@ public abstract class XCreator extends JPanel implements XComponent, XCreatorToo
popup.setLocation(designer.getLocationOnScreen().x + designer.getPaintX() + extraX, designer.getLocationOnScreen().y + designer.getPaintY() + extraY);
popup.updatePane(designer);
boolean needShowing = selected && accept && popup.hasVisibleButtons() && popup.isCanVisible() && !isShowPluginDialog();
// 当不可见时,且可以设置为可见状态,才去设置为可见
// 避免已经是可见状态时,重复设置可见,造成闪屏
if (!popup.isVisible() && needShowing) {
popup.setVisible(true);
} else if (!needShowing) {

Loading…
Cancel
Save