Browse Source

Pull request #8908: REPORT-71213 关闭alphafine 默认不展示悬浮弹窗

Merge in DESIGN/design from ~HADES/design:final/11.0 to final/11.0

* commit '985c713e2e59a37ba9447b2e730bbc14c6d9766a':
  REPORT-71213 关闭alphafine 默认不展示悬浮弹窗
new-design
Hades 3 years ago
parent
commit
dcbd96b2be
  1. 9
      designer-realize/src/main/java/com/fr/design/mainframe/alphafine/question/QuestionWindow.java

9
designer-realize/src/main/java/com/fr/design/mainframe/alphafine/question/QuestionWindow.java

@ -1,5 +1,6 @@
package com.fr.design.mainframe.alphafine.question; package com.fr.design.mainframe.alphafine.question;
import com.fr.design.DesignerEnvManager;
import com.fr.design.i18n.Toolkit; import com.fr.design.i18n.Toolkit;
import com.fr.design.mainframe.DesignerContext; import com.fr.design.mainframe.DesignerContext;
import com.fr.design.mainframe.alphafine.AlphaFineHelper; import com.fr.design.mainframe.alphafine.AlphaFineHelper;
@ -68,6 +69,14 @@ public class QuestionWindow extends JWindow {
DesignerContext.getDesignerFrame().getHeight() - 100); DesignerContext.getDesignerFrame().getHeight() - 100);
} }
@Override
public void setVisible(boolean visible) {
if (visible && !DesignerEnvManager.getEnvManager().getAlphaFineConfigManager().isEnabled()) {
return;
}
super.setVisible(visible);
}
public static QuestionWindow getInstance() { public static QuestionWindow getInstance() {
return INSTANCE; return INSTANCE;
} }

Loading…
Cancel
Save