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() {
guideView.hideLoading();
if (scene != null) {
guideView.setScene(scene);
guideView.showGuide();
if (lifecycle != null) {
lifecycle.onStart();
SwingUtilities.invokeLater(new Runnable() {
@Override
public void run() {
if (scene != null) {
guideView.setScene(scene);
guideView.showGuide();
if (lifecycle != null) {
lifecycle.onStart();
}
} else {
complete();
}
}
} else {
complete();
}
});
}
public void complete() {

Loading…
Cancel
Save