mirror of
https://github.com/zadam/trilium.git
synced 2025-01-10 01:00:43 +08:00
all dialogs are now non-modal because of high cpu usage
This commit is contained in:
parent
3d2ef6be01
commit
3a95c9e1bc
1 changed files with 4 additions and 1 deletions
|
@ -39,7 +39,10 @@ function ensureProtectedSession(requireProtectedSession, modal) {
|
|||
}
|
||||
|
||||
$dialog.dialog({
|
||||
modal: modal,
|
||||
// modal: modal,
|
||||
// everything is now non-modal, because modal dialog caused weird high CPU usage on opening
|
||||
// and tearing of text input
|
||||
modal: false,
|
||||
width: 400,
|
||||
open: () => {
|
||||
if (!modal) {
|
||||
|
|
Loading…
Reference in a new issue