Browse Source

REPORT-60896 引导蒙层有残留阴影

new-design
kuangshuai 3 years ago
parent
commit
eb31aef595
  1. 21
      designer-base/src/main/java/com/fr/design/mainframe/guide/base/Guide.java

21
designer-base/src/main/java/com/fr/design/mainframe/guide/base/Guide.java

@ -135,15 +135,20 @@ public class Guide {
public void start() { public void start() {
guideView.hideLoading(); guideView.hideLoading();
if (scene != null) { SwingUtilities.invokeLater(new Runnable() {
guideView.setScene(scene); @Override
guideView.showGuide(); public void run() {
if (lifecycle != null) { if (scene != null) {
lifecycle.onStart(); guideView.setScene(scene);
guideView.showGuide();
if (lifecycle != null) {
lifecycle.onStart();
}
} else {
complete();
}
} }
} else { });
complete();
}
} }
public void complete() { public void complete() {

Loading…
Cancel
Save