mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
all dialogs are now non-modal because of high cpu usage
This commit is contained in:
parent
3d2ef6be01
commit
3a95c9e1bc
@ -39,7 +39,10 @@ function ensureProtectedSession(requireProtectedSession, modal) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$dialog.dialog({
|
$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,
|
width: 400,
|
||||||
open: () => {
|
open: () => {
|
||||||
if (!modal) {
|
if (!modal) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user