There was an error while loading. Please reload this page.
1 parent 445a738 commit 127fc4cCopy full SHA for 127fc4c
2 files changed
app/src/constants.ts
@@ -225,6 +225,7 @@ export abstract class Constants {
225
public static readonly DIALOG_SAVEWORKSPACE = "dialog-saveworkspace"; // 保存工作空间
226
227
// timeout
228
+ public static readonly TIMEOUT_OPENDIALOG = 50;
229
public static readonly TIMEOUT_DBLCLICK = 190;
230
public static readonly TIMEOUT_INPUT = 256;
231
public static readonly TIMEOUT_LOAD = 300;
app/src/dialog/index.ts
@@ -78,7 +78,7 @@ left:${left || "auto"};top:${top || "auto"}">
78
} else {
79
setTimeout(() => {
80
this.element.classList.add("b3-dialog--open");
81
- });
+ }, Constants.TIMEOUT_OPENDIALOG);
82
}
83
/// #if !MOBILE
84
moveResize(this.element.querySelector(".b3-dialog__container"), options.resizeCallback);
0 commit comments