mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-30 19:19:03 +01: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({ | ||||
|             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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 azivner
						azivner