Browse Source

Merge pull request #8917 in DESIGN/design from final/11.0 to release/11.0

* commit 'dcbd96b2be677745dcdedb647ff381af6c4f2f7a':
  REPORT-71213 关闭alphafine 默认不展示悬浮弹窗
  REPORT-71544 M1-MAC 设计器启动后会卡住 主要是转译时,Instrumentation 的性能问题。 马上发布了屏蔽一下,暂时 windows, intel-mac 都未发现这个问题 如果还是有,那就下个版本优化一下,做一个智能判断
newui
superman 3 years ago
parent
commit
8c2a9b8597
  1. 2
      designer-base/src/main/java/com/fr/design/record/analyzer/DesignerAnalyzerActivator.java
  2. 9
      designer-realize/src/main/java/com/fr/design/mainframe/alphafine/question/QuestionWindow.java

2
designer-base/src/main/java/com/fr/design/record/analyzer/DesignerAnalyzerActivator.java

@ -41,7 +41,7 @@ public class DesignerAnalyzerActivator extends Activator implements Prepare {
@Override
public void start() {
OptimizeUtil.open(() -> {
OptimizeUtil.open(OptimizeUtil.Module.ANALYZER,() -> {
AnalyzerAssemblyFactory basicFactory = createBasicFactory();

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

Loading…
Cancel
Save