mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 19:36:12 +01:00
all dialogs are now non-modal because of high cpu usage
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user