mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-06 04:40:15 +01:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
459a35d0b3
4 changed files with 28 additions and 1 deletions
|
|
@ -225,6 +225,7 @@ export abstract class Constants {
|
|||
public static readonly DIALOG_SAVEWORKSPACE = "dialog-saveworkspace"; // 保存工作空间
|
||||
|
||||
// timeout
|
||||
public static readonly TIMEOUT_OPENDIALOG = 50;
|
||||
public static readonly TIMEOUT_DBLCLICK = 190;
|
||||
public static readonly TIMEOUT_INPUT = 256;
|
||||
public static readonly TIMEOUT_LOAD = 300;
|
||||
|
|
|
|||
|
|
@ -78,7 +78,7 @@ left:${left || "auto"};top:${top || "auto"}">
|
|||
} else {
|
||||
setTimeout(() => {
|
||||
this.element.classList.add("b3-dialog--open");
|
||||
});
|
||||
}, Constants.TIMEOUT_OPENDIALOG);
|
||||
}
|
||||
/// #if !MOBILE
|
||||
moveResize(this.element.querySelector(".b3-dialog__container"), options.resizeCallback);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue